From 4302c4492c4d70dd383015c35c332a5934f6cb62 Mon Sep 17 00:00:00 2001
From: suchmememanyskill <38142618+suchmememanyskill@users.noreply.github.com>
Date: Fri, 9 Feb 2024 21:44:21 +0100
Subject: [PATCH] More CI changes
---
.github/workflows/compile.yaml | 9 +++++++--
_site/index.html | 4 ++++
2 files changed, 11 insertions(+), 2 deletions(-)
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;
+ }