update workflow versions
This commit is contained in:
parent
ccbabbd3f8
commit
19055142e1
1 changed files with 6 additions and 6 deletions
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
|
@ -8,10 +8,10 @@ jobs:
|
||||||
build-nix:
|
build-nix:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: cachix/install-nix-action@v19
|
uses: cachix/install-nix-action@v25
|
||||||
with:
|
with:
|
||||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
extra_nix_config: |
|
extra_nix_config: |
|
||||||
|
@ -23,7 +23,7 @@ jobs:
|
||||||
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
|
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
|
||||||
|
|
||||||
- name: Build with cachix
|
- name: Build with cachix
|
||||||
uses: cachix/cachix-action@v12
|
uses: cachix/cachix-action@v14
|
||||||
with:
|
with:
|
||||||
name: hakyll-nix-template
|
name: hakyll-nix-template
|
||||||
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
|
||||||
|
@ -31,7 +31,7 @@ jobs:
|
||||||
- run: nix build --accept-flake-config
|
- run: nix build --accept-flake-config
|
||||||
|
|
||||||
- name: Artifact pages
|
- name: Artifact pages
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: pages
|
name: pages
|
||||||
path: result/dist
|
path: result/dist
|
||||||
|
@ -43,14 +43,14 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Download artifact
|
- name: Download artifact
|
||||||
uses: actions/download-artifact@v2
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: pages
|
name: pages
|
||||||
path: result
|
path: result
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
if: success()
|
if: success()
|
||||||
uses: crazy-max/ghaction-github-pages@v3.1.0
|
uses: crazy-max/ghaction-github-pages@v4.0.0
|
||||||
with:
|
with:
|
||||||
build_dir: result
|
build_dir: result
|
||||||
target_branch: gh-pages
|
target_branch: gh-pages
|
||||||
|
|
Loading…
Add table
Reference in a new issue