actions-hugo
actions-hugo copied to clipboard
proposal: Add support for timezone
Checklist
- [X] I am using the latest version of this action.
- [X] I have read the latest README and followed the instructions.
- [X] I have read the latest GitHub Actions official documentation and learned the basic spec and concepts.
Describe your proposal
Add an option for set the timezone for the build. If I locate the site in Paris I need to add more action to the workflow
Describe the solution you'd like
I like something like this
- name: Set up Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "latest"
extended: true
timezone: Europe/Paris
Describe alternatives you've considered
I considered use other action for set the timezone but it is more run time for the action
Additional context
No additional context
Could you try TZ env?
- name: Build
env:
TZ: "Asia/Tokyo"
run: hugo