Skip to content

Add post Raspberry Pi camera on NixOS #268

Add post Raspberry Pi camera on NixOS

Add post Raspberry Pi camera on NixOS #268

# yamllint disable rule:line-length
---
name: "Build and deploy site"
on: # yamllint disable-line rule:truthy
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@ab6bcb2d5af0e904d04aea750e2089e9dc4cbfdd # v13
- uses: DeterminateSystems/magic-nix-cache-action@b46e247b898aa56e6d2d2e728dc6df6c84fdb738 # v7
- run: nix-build -A checks.x86_64-linux
- run: |
scripts/publish.sh
scripts/push_image.sh
env:
DOCKER_ACCESS_TOKEN: ${{ secrets.DOCKER_ACCESS_TOKEN }}
if: github.ref == 'refs/heads/main'