Zig Day Bristol #4 #111
Workflow file for this run
This file contains hidden or 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: Deploy the website build | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| concurrency: | |
| # Cancels pending runs when a PR gets updated. | |
| group: ${{ github.head_ref || github.run_id }}-${{ github.actor }} | |
| cancel-in-progress: true | |
| jobs: | |
| zine-release-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Change if you need git info | |
| - name: Setup Zine | |
| uses: kristoff-it/setup-zine@v1 | |
| with: | |
| version: v0.11.0 | |
| - name: Build | |
| run: zine release | |
| codeowners-automerge: | |
| if: github.event.pull_request.draft == false | |
| runs-on: ubuntu-latest | |
| needs: zine-release-test | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Codeowners automerge check | |
| uses: kristoff-it/codeowners-automerge@v1 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.AUTOMERGE_KEY }} | |
| with: | |
| merge_method: 'squash' |