Skip to content

Bump actions/checkout from 3 to 4 #175

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #175

---
name: "Build and deploy site"
on: # yamllint disable-line rule:truthy
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: cachix/install-nix-action@v22
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'