try and fix build
This commit is contained in:
parent
a816227da7
commit
172e69fddb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue