try and fix build

This commit is contained in:
Robert W. Pearce 2021-07-31 11:58:30 -04:00
parent a816227da7
commit 172e69fddb
No known key found for this signature in database
GPG Key ID: 07A0E482E5616C9B
1 changed files with 4 additions and 6 deletions

View File

@ -5,27 +5,25 @@ on:
push:
jobs:
build:
build-nix:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Install Nix
uses: cachix/install-nix-action@v13
with:
skip_adding_nixpkgs_channel: true
install_url: https://nixos-nix-install-tests.cachix.org/serve/lb41az54kzk6j12p81br4bczary7m145/install
install_url: https://nixos-nix-install-tests.cachix.org/serve/i6laym9jw3wg9mw6ncyrk6gjx4l34vvx/install
install_options: '--tarball-url-prefix https://nixos-nix-install-tests.cachix.org/serve'
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Build with cachix
uses: cachix/cachix-action@v10
with:
name: hakyll-nix-template
signingKey: ${{ secrets.CACHIX_SIGNING_KEY }}
#authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build
@ -38,7 +36,7 @@ jobs:
deploy:
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
needs: [build]
needs: [build-nix]
steps:
- name: Download artifact