fix(ci): Don't adjust the file permissions

This commit is contained in:
Jalil David Salamé Messina 2024-01-14 19:28:43 +01:00
parent 4e789f7073
commit d56b740017
Signed by: jalil
GPG key ID: F016B9E770737A0B

View file

@ -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: