on push to main #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: on-push | |
run-name: on push to main | |
on: | |
push: | |
branches: | |
- main | |
# run if user manually requests it | |
workflow_dispatch: | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
update-citations: | |
# skip first run because nothing enabled or setup yet | |
if: github.run_number != 1 | |
uses: ./.github/workflows/update-citations.yaml | |
build-site: | |
needs: update-citations | |
uses: ./.github/workflows/build-site.yaml |