Skip to content

Bump cachix/cachix-action from 14 to 15 #51

Bump cachix/cachix-action from 14 to 15

Bump cachix/cachix-action from 14 to 15 #51

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
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@V27
- uses: cachix/cachix-action@v15
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: bom
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