Skip to content

Commit

Permalink
Fix missing permissions
Browse files Browse the repository at this point in the history
actions/jekyll-build-pages is a Docker action hence is run by the default Docker
user (root). So we need sudo in copying into the directory created by Jekyll.
See actions/jekyll-build-pages#101.

https://docs.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions#user
  • Loading branch information
muzimuzhi authored and wspr committed May 18, 2024
1 parent 63a37da commit 212f5ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Documentation
run: l3build doc -q -H --show-log-on-error
- name: Copy PDF
run: pwd; ls; cp *.pdf ./_site/
run: sudo cp *.pdf ./_site/
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

Expand Down

0 comments on commit 212f5ad

Please sign in to comment.