Skip to content

Add post: Raspberry Pi camera on NixOS #272

Add post: Raspberry Pi camera on NixOS

Add post: Raspberry Pi camera on NixOS #272

# 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@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@da36cb69b1c3247ad7a1f931ebfd954a1105ef14 # v14
- uses: DeterminateSystems/magic-nix-cache-action@87b14cf437d03d37989d87f0fa5ce4f5dc1a330b # v8
- 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'