Skip to content

Commit

Permalink
Fix GitHub Pages deployment (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
9999years authored Oct 21, 2024
1 parent 5cd6706 commit 9b71bc4
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ on:
name: Build and publish a release

jobs:
github-pages:
name: Publish user manual to GitHub Pages
build:
name: Build user manual
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@v30
Expand All @@ -35,5 +35,19 @@ jobs:
with:
path: git-prole-user-manual/


deploy:
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
needs: build
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 9b71bc4

Please sign in to comment.