build_documentation: update workflow actions

This commit is contained in:
Mikael Fangel 2024-05-10 23:32:27 +02:00 committed by Gaétan Lepage
parent f7f255afe2
commit 8eeefad9dd

View file

@ -31,15 +31,15 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Setup pages - name: Setup pages
uses: actions/configure-pages@v3 uses: actions/configure-pages@v5
- name: Install nix - name: Install nix
uses: cachix/install-nix-action@v25 uses: cachix/install-nix-action@v26
with: with:
nix_path: nixpkgs=channel:nixos-unstable nix_path: nixpkgs=channel:nixos-unstable
- name: Configure cachix - name: Configure cachix
uses: cachix/cachix-action@v13 uses: cachix/cachix-action@v14
with: with:
name: nix-community name: nix-community
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
@ -47,10 +47,10 @@ jobs:
- run: nix build .#docs --show-trace - run: nix build .#docs --show-trace
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v2 uses: actions/upload-pages-artifact@v3
with: with:
path: "result/share/doc" path: "result/share/doc"
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v2 uses: actions/deploy-pages@v4