mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 09:14:31 +02:00
build_documentation: update workflow actions
This commit is contained in:
parent
f7f255afe2
commit
8eeefad9dd
1 changed files with 5 additions and 5 deletions
10
.github/workflows/build_documentation.yml
vendored
10
.github/workflows/build_documentation.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue