Add version to settings

This commit is contained in:
suchmememanyskill
2024-02-09 21:06:23 +01:00
parent 452dbefbdb
commit 15209544d0
4 changed files with 40 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ permissions:
pages: write
id-token: write
on: [push, pull_request]
on: [push, pull_request, workflow_dispatch]
jobs:
build:
@@ -45,7 +45,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
steps:
- name: Print GitHub event name
run: |