Skip to content

Commit

Permalink
More CI changes
Browse files Browse the repository at this point in the history
  • Loading branch information
suchmememanyskill committed Feb 9, 2024
1 parent 8ff2be1 commit 4302c44
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/compile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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: |
Expand Down
4 changes: 4 additions & 0 deletions _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
color: green;
filter: drop-shadow(0 0 0.75rem lime);
}

#changelog-body {
white-space: break-spaces;
}
</style>
<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>
Expand Down

0 comments on commit 4302c44

Please sign in to comment.