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

Consider switching to github's official workflow action for deploying to gh-pages #348

Open
specious opened this issue Aug 3, 2022 · 1 comment
Labels
infrastructure A point concerning the public instance or general infrastructure

Comments

@specious
Copy link
Collaborator

specious commented Aug 3, 2022

Currently, a push to the main branch triggers a deployment to the gh-pages branch, which subsequently triggers github's built-in publishing of the website to github pages (i.e. free hosting for this app, courtesy of github).

The automated (or manually triggered) deployment to gh-pages currently uses the workflow action JamesIves/github-pages-deploy-action and it works very well (see this run, under build-and-deploy > "Deploy /public to gh-pages branch"). However, github has recently released their own actions/deploy-pages action (currently in public beta) which aims to officially do the same thing.

To clear up any confusion, this is distinctly different from the built-in pages-build-deployment action (see this run), which publishes the latest content on the gh-pages branch to the web so it's available online.

See: "Do I need the pages-build-deployment Github Action, when I have another action for my Github Pages?" on Stack Overflow

Perhaps at some point it makes sense to consider switching from JamesIves/github-pages-deploy-action to the official actions/deploy-pages workflow action for deploying to the latest commit to main to gh-pages.

@specious specious added the infrastructure A point concerning the public instance or general infrastructure label Aug 3, 2022
@specious
Copy link
Collaborator Author

specious commented Aug 3, 2022

I know these details may seem unnecessarily complex to a lot of people and there is absolutely no urgency to the matter. However, I decided that it makes sense to open this discussion in case anyone is interested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure A point concerning the public instance or general infrastructure
Projects
None yet
Development

No branches or pull requests

1 participant