mirror of
https://github.com/suchmememanyskill/CYD-Klipper.git
synced 2026-11-15 13:35:52 +00:00
More CI changes
This commit is contained in:
1 parent
8ff2be168e
commit
4302c4492c
2 files changed
+11
-2
No files matched your search
@@ -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: |
|
||||
|
||||
Reference in new issue
Block a user