Update GitHub actions

This commit is contained in:
Gabriel Arazas 2023-04-21 16:37:20 +08:00
parent fadbfd1b69
commit 9368630d56
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: cachix/install-nix-action@v17 - uses: cachix/install-nix-action@v20
with: with:
nix_path: nixpkgs=channel:nixpkgs-unstable nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Fetch all 'content/' branches - name: Fetch all 'content/' branches
@ -24,7 +24,7 @@ jobs:
git fetch origin +refs/heads/content/*:refs/heads/content/* git fetch origin +refs/heads/content/*:refs/heads/content/*
- run: nix develop -c make build - run: nix develop -c make build
- name: Deploy to Netlify - name: Deploy to Netlify
uses: nwtgck/actions-netlify@v1.2 uses: nwtgck/actions-netlify@v2
with: with:
publish-dir: ./public publish-dir: ./public
netlify-config-path: ./netlify.toml netlify-config-path: ./netlify.toml