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.73k stars 376 forks source link

proposal: destination_dir with recursive option. #1080

Open elpiel opened 5 months ago

elpiel commented 5 months ago

Checklist

Describe your proposal

Just like mkdir has the --parents option, I would like to propose such an option for the action. Our branch names can consist of e.g. fix/this-bug (with the same path`) and we've had issues when deploying on our staging (static-files) server

Describe the solution you'd like

mkdir -p $destination_dir

Describe alternatives you've considered

Execute a command in the github action to create the given branch as directories on GH pages deployment

Additional context

No response