Skip to content

build(deps): Bump JamesIves/github-pages-deploy-action #929

build(deps): Bump JamesIves/github-pages-deploy-action

build(deps): Bump JamesIves/github-pages-deploy-action #929

Workflow file for this run

name: Documentation
on: [ push, pull_request ]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v29
with:
extra_nix_config: |
access-tokens = github.com=${{ github.token }}
- uses: cachix/cachix-action@v15
with:
name: enarx
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build -L --show-trace '.#doc' -o doc/index.html
- run: cp --remove-destination $(readlink -f doc/index.html) doc/index.html
- uses: actions/upload-artifact@v4
with:
name: doc
path: doc/index.html
- uses: JamesIves/[email protected]
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
with:
branch: gh-pages
folder: doc