diff --git a/.github/workflows/compile.yaml b/.github/workflows/compile.yaml
index f17928b..2305f04 100644
--- a/.github/workflows/compile.yaml
+++ b/.github/workflows/compile.yaml
@@ -4,7 +4,12 @@ permissions:
pages: write
id-token: write
-on: [push, pull_request, workflow_dispatch]
+on:
+ push:
+ pull_request:
+ workflow_dispatch:
+ release:
+ types: [created]
jobs:
build:
@@ -48,7 +53,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
- if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
+ if: (github.event_name == 'release' && github.event.action == 'created') || (github.event_name != 'pull_request' && github.ref == 'refs/heads/master')
steps:
- name: Print GitHub event name
run: |
diff --git a/_site/index.html b/_site/index.html
index 568c21a..8ab571c 100644
--- a/_site/index.html
+++ b/_site/index.html
@@ -31,6 +31,10 @@
color: green;
filter: drop-shadow(0 0 0.75rem lime);
}
+
+ #changelog-body {
+ white-space: break-spaces;
+ }