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 committed May 17, 2024
1 parent e5aae75 commit cf16dfc
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 cf16dfc

Please sign in to comment.