Skip to content
This repository was archived by the owner on Jul 3, 2024. It is now read-only.

Commit 1a27fb5

Browse files
authored
Update deploy.yml
1 parent f3bca3b commit 1a27fb5

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/deploy.yml

+10-7
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,19 @@ jobs:
2525
- uses: actions/checkout@v4
2626
- uses: cachix/install-nix-action@v23
2727
with:
28-
nix_path: nixpkgs=channel:nixos-unstable
29-
- uses: cachix/cachix-action@v12
28+
nix_path: nixpkgs=channel:nixos-unstable
29+
- run: nix build .#static-docs -L
30+
- uses: actions/upload-artifact@v2
3031
with:
31-
name: nix-community
32-
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
33-
- run: nix build .#codemod -L
34-
35-
32+
name: github-pages
33+
path: result/lib/node_modules/docs-static/public
34+
3635
deploy:
3736
needs: build
37+
permissions:
38+
pages: write # to deploy to Pages
39+
id-token: write # to verify the deployment originates from an appropriate source
40+
3841
runs-on: ubuntu-latest
3942
environment:
4043
name: github-pages

0 commit comments

Comments
 (0)