More CI changes

This commit is contained in:
suchmememanyskill
2024-02-09 21:44:21 +01:00
parent 8ff2be168e
commit 4302c4492c
2 changed files with 11 additions and 2 deletions

View File

@@ -4,7 +4,12 @@ permissions:
pages: write pages: write
id-token: write id-token: write
on: [push, pull_request, workflow_dispatch] on:
push:
pull_request:
workflow_dispatch:
release:
types: [created]
jobs: jobs:
build: build:
@@ -48,7 +53,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }} url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build 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: steps:
- name: Print GitHub event name - name: Print GitHub event name
run: | run: |

View File

@@ -31,6 +31,10 @@
color: green; color: green;
filter: drop-shadow(0 0 0.75rem lime); filter: drop-shadow(0 0 0.75rem lime);
} }
#changelog-body {
white-space: break-spaces;
}
</style> </style>
<script type="module" src="https://unpkg.com/esp-web-tools@9/dist/web/install-button.js?module"></script> <script type="module" src="https://unpkg.com/esp-web-tools@9/dist/web/install-button.js?module"></script>
<script src="//code.iconify.design/1/1.0.6/iconify.min.js"></script> <script src="//code.iconify.design/1/1.0.6/iconify.min.js"></script>