Skip to content

Bump DeterminateSystems/magic-nix-cache-action from 6 to 7 #235

Bump DeterminateSystems/magic-nix-cache-action from 6 to 7

Bump DeterminateSystems/magic-nix-cache-action from 6 to 7 #235

# 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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
with:
fetch-depth: 0
- uses: DeterminateSystems/nix-installer-action@7993355175c2765e5733dae74f3e0786fe0e5c4f # v12
- 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'