mirror of
https://github.com/youwen5/blog.git
synced 2024-11-24 18:03:50 -08:00
fix(ci): remove cachix push and add magic nix cache
This commit is contained in:
parent
b8ade68874
commit
c36a000684
1 changed files with 7 additions and 4 deletions
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
|
@ -8,7 +8,10 @@ jobs:
|
|||
build-nix:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: |
|
||||
actions/checkout@v4
|
||||
DeterminateSystems/nix-installer-action@main
|
||||
DeterminateSystems/magic-nix-cache-action@main
|
||||
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v30
|
||||
|
@ -24,9 +27,9 @@ jobs:
|
|||
|
||||
- name: Build with cachix
|
||||
uses: cachix/cachix-action@v15
|
||||
with:
|
||||
name: hakyll-nix-template
|
||||
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
||||
# with:
|
||||
# name: hakyll-nix-template
|
||||
# authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
||||
|
||||
- run: nix build --accept-flake-config
|
||||
|
||||
|
|
Loading…
Reference in a new issue