Skip to content
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

Add GH pages action to fix file permissions #3248

Merged
merged 2 commits into from
Nov 19, 2023

Conversation

vbharadwaj-bk
Copy link
Contributor

Pull Request Checklist

Resolves: #3244

  • Ensured tests pass and (if applicable) updated functional test output
  • Conformed to code style guidelines by running appropriate linting tools
  • Added tests for changed code (verified by building a test site and checking the GH pages workflow)
  • Updated documentation for changed code (N/A)

Adds a Github action that fixes file permissions before uploading (such as cache files created by Pelican Webassets if the cache is not disabled). Raises a warning for each file without proper permissions.

RELEASE.md Outdated Show resolved Hide resolved
@seanh
Copy link
Contributor

seanh commented Nov 18, 2023

This fix seems fine to me 👍 If upload-pages-artefact chokes on certain file permissions in the output directory, I see no reason why the workflow shouldn't fix those permissions to ensure that doesn't happen

@justinmayer justinmayer changed the title Added GH pages action to fix file permissions. Add GH pages action to fix file permissions Nov 19, 2023
Copy link
Member

@justinmayer justinmayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks to @vbharadwaj-bk for the enhancement and to @avaris and @seanh for reviewing. 🎖️

@justinmayer justinmayer merged commit d9b2bc3 into getpelican:master Nov 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pelican Webassets Cache Breaks Github Pages Deployment (File Permissions)
4 participants