Skip to content

Merge pull request #20 from epics-extensions/fix-archappl-group #10

Merge pull request #20 from epics-extensions/fix-archappl-group

Merge pull request #20 from epics-extensions/fix-archappl-group #10

Workflow file for this run

name: "Book GitHub Pages"
on:
# Allows running this workflow manually
workflow_dispatch:
push:
branches: [master]
permissions:
contents: read
pages: write
id-token: write
# Only one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v20
- name: "Build documentation book"
run: |
nix build '.#book' --print-build-logs
cp -Lr --no-preserve=mode,ownership ./result/ ./book
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './book'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2