Skip to content

github-actions: update #45

github-actions: update

github-actions: update #45

Workflow file for this run

on:
push:
branches:
- main
pull_request:
workflow_dispatch:
name: CI
jobs:
bom:
name: Bill of Materials
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
- uses: cachix/cachix-action@v14
with:
name: newam
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix build .#bom -L
# https://github.com/actions/upload-pages-artifact?tab=readme-ov-file#file-permissions
- name: fix permissions
run: |
cp -rL result public
chmod 777 -R public
- uses: actions/upload-pages-artifact@v3
with:
path: ./public
deploy:
runs-on: ubuntu-latest
needs: mdbook

Check failure on line 35 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 35, Col: 12): Job 'deploy' depends on unknown job 'mdbook'.
if: ${{ github.ref == 'refs/heads/main' }}
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/deploy-pages@v4
id: deployment