Skip to content

Merge pull request #19 from section77/dependabot/github_actions/cachi… #51

Merge pull request #19 from section77/dependabot/github_actions/cachi…

Merge pull request #19 from section77/dependabot/github_actions/cachi… #51

Workflow file for this run

---
name: GitHub Pages
on:
push:
branches: [master]
jobs:
gh-pages:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-22.11
- uses: cachix/cachix-action@v15
with:
name: s77-werbematerial
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
- name: generate site
run: nix-build --argstr public-url '/werbematerial'
- name: deploy
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./result