fix(ci): Don't adjust the file permissions
This commit is contained in:
parent
4e789f7073
commit
d56b740017
1 changed files with 6 additions and 7 deletions
13
.github/workflows/deploy.yml
vendored
13
.github/workflows/deploy.yml
vendored
|
@ -5,9 +5,12 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
paths:
|
paths:
|
||||||
- ./.github/workflows/deploy.yml # this workflow
|
# This workflow
|
||||||
- ./docs/** # Docs generation code
|
- ./.github/workflows/deploy.yml
|
||||||
- ./options.nix # module options
|
# Docs generation code
|
||||||
|
- ./docs/**
|
||||||
|
# Module options
|
||||||
|
- ./options.nix
|
||||||
# Nix files
|
# Nix files
|
||||||
- flake.lock
|
- flake.lock
|
||||||
- flake.nix
|
- flake.nix
|
||||||
|
@ -21,10 +24,6 @@ jobs:
|
||||||
- uses: DeterminateSystems/magic-nix-cache-action@v2
|
- uses: DeterminateSystems/magic-nix-cache-action@v2
|
||||||
- name: Build documentation
|
- name: Build documentation
|
||||||
run: nix build .#doc --print-build-logs
|
run: nix build .#doc --print-build-logs
|
||||||
- name: Adjust permissions
|
|
||||||
run: |
|
|
||||||
chown -R "$(id -u):$(id -g)" ./result
|
|
||||||
chmod -R a+rwx ./result
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v1
|
uses: actions/upload-pages-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue