peaceiris / actions-gh-pages

GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.
https://github.com/marketplace/actions/github-pages-action
MIT License
4.72k stars 374 forks source link

proposal: add lib folder to main branch #1107

Open sc0w opened 1 month ago

sc0w commented 1 month ago

Checklist

Describe your proposal

The idea is just to add the ability to use the main branch, if not it fails:

Run peaceiris/actions-gh-pages@main
Error: File not found: '/home/runner/work/_actions/peaceiris/actions-gh-pages/main/lib/index.js'

Describe the solution you'd like

just add the lib folder to the main branch

Describe alternatives you've considered

No response

Additional context

No response

peaceiris commented 1 month ago

Please read this section.

https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-release-strategy

sc0w commented 1 month ago

ok, understood, anyway, it will be helpful if we have always the same tag for the latest version, the tag latest for example, it will avoid us to edit again and again our workflows if we just like to have always the latest release

peaceiris commented 1 month ago

How about using the Dependabot to update a reference for an action?

https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-use-the-latest-and-specific-release