-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output directory permissions #101
Comments
Workaround for actions/jekyll-build-pages#101
According to the similar issue #18, since this action is a Docker action and GitHub Actions requires that
the destination directory, if created by this action, is always owned by user Therefore this issue is not a bug and there're no better workarounds than |
Makes sense, and the work around isn't too bad. |
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
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
Hi
I ran into an issue with permissions on the generated output folder.
The jekyll build output is as expected, but the
download-artifact
step fails due to missing permissions.I tried adding
- run: mkdir -p ./output/publish
in between the two steps, but that fails due to missing permissions as well.The workaround i have now is adding
- run: mkdir ./output
before the jekyll build step, which makes it have the necessary permissions.The text was updated successfully, but these errors were encountered: