Replies: 1 comment 2 replies
-
You can use GitHub Actions to push a workflow when a release is created. It's probably a little bit overkill, but in theory you could push a random file update into the I haven't used Jekyll with GitHub Pages in a very long time so I'm not sure if there's a way to hook into the deployment job that GitHub generates automatically using actions. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Situation
I am using GitHub Pages to display a simple landing page for my project with direct download links to artifacts generated by a GitHub Action. This information is pulled from the GitHub API via this syntax in the standard GitHub Pages
index.md
:When I push to the master branch, I run an action that automatically releases new binaries as GitHub Releases. Unfortunately, the GitHub Pages page is being deployed at the same time, with the GitHub API still providing the previous release as the latest release.
GitHub Pages configuration
Deployment page:
Question(s)
My idea was to use a GitHub Action after the release is complete to deploy a fresh page. Can I use this action to trigger what GitHub seems to do automagically after each push? That is, just deploying the standard jekyll page from
/docs
. And is there a way to disable the automatic deployment so that the page only gets deployed after a (successful) release.Beta Was this translation helpful? Give feedback.
All reactions