Skip to content

Merge pull request #14 from section77/dependabot/github_actions/peace… #45

Merge pull request #14 from section77/dependabot/github_actions/peace…

Merge pull request #14 from section77/dependabot/github_actions/peace… #45

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@v26
with:
nix_path: nixpkgs=channel:nixos-22.11
- uses: cachix/cachix-action@v14
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