chore(deps): Bump cachix/install-nix-action from 22 to 23 #309
Workflow file for this run
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: Deploy Jekyll with GitHub Pages dependencies preinstalled | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
push: | |
branches: ["master"] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.6.0 | |
- name: Setup Pages | |
uses: actions/configure-pages@v3.0.6 | |
- uses: cachix/install-nix-action@v23 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: linz | |
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
- name: Build with Jekyll | |
run: nix-shell --pure --run 'github-pages build --verbose' | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v2.0.0 | |
deploy: | |
if: | |
github.repository == 'linz/emergency-management-tools' && github.ref == | |
'refs/heads/master' | |
concurrency: | |
group: "pages" | |
cancel-in-progress: true | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-22.04 | |
needs: build | |
steps: | |
- name: Deploy to GitHub Pages | |
id: deployment | |
uses: actions/deploy-pages@v2.0.4 |