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

adding schedule for re-deploys #232

Merged
merged 1 commit into from
Sep 17, 2022
Merged

Conversation

elreydetoda
Copy link
Collaborator

if an event is scheduled for the future, it won't show up on the website till hugo re-deploys the website (and it's after the publish_date). So, this modification to the deployment allows those scheduled events to automatically be handled via GH actions instead of manual re-deployment.

@elreydetoda elreydetoda added the enhancement New feature or request label Sep 2, 2022
@elreydetoda elreydetoda self-assigned this Sep 2, 2022
@netlify
Copy link

netlify bot commented Sep 2, 2022

Deploy Preview for phenomenal-sorbet-03ea71 ready!

Name Link
🔨 Latest commit 55917d8
🔍 Latest deploy log https://app.netlify.com/sites/phenomenal-sorbet-03ea71/deploys/63128c26c6d89f000885bbe8
😎 Deploy Preview https://deploy-preview-232--phenomenal-sorbet-03ea71.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@bluelotus03
Copy link
Member

@elreydetoda and I decided this adds too much complexity.
Will have publish date for the event post be the date of publishing that post, as a hidden value (not to be changed). Then the only thing that matters is the event date specified so it can be an 'upcoming' or 'previous' event.

@bluelotus03 bluelotus03 closed this Sep 3, 2022
@elreydetoda elreydetoda deleted the feat/gh_action_re-deploy branch September 3, 2022 17:29
@elreydetoda
Copy link
Collaborator Author

Found out you can't do a hidden date (decaporg/decap-cms#1270), you can only do a date or hidden widgets.

@bluelotus03 bluelotus03 restored the feat/gh_action_re-deploy branch September 17, 2022 20:16
@bluelotus03 bluelotus03 reopened this Sep 17, 2022
@bluelotus03 bluelotus03 merged commit b41f18c into main Sep 17, 2022
@bluelotus03 bluelotus03 deleted the feat/gh_action_re-deploy branch September 17, 2022 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants