Skip to content

Bump cachix/install-nix-action from 22 to 23 #174

Bump cachix/install-nix-action from 22 to 23

Bump cachix/install-nix-action from 22 to 23 #174

---
name: "Build and deploy site"
on: # yamllint disable-line rule:truthy
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v23
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: wagdav
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- 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'