CIELO-la / loteria

A lotería game with multi-language support focused on enabling play in indigenous languages
6 stars 2 forks source link

Use direct deployment to GitHub Pages instead of branch-based #82

Closed JamesMGreene closed 1 year ago

JamesMGreene commented 1 year ago

Building off Gabe's work in PR #79, this PR moves from using branch-based deployments to direct deployments for GitHub Pages. 🚀

Background

Since July, GitHub Pages has offered the ability to deploy directly from custom Actions workflows instead of requiring users to push their deployable content into a specified branch (e.g. gh-pages) or directory within the repository.

For repositories not using Jekyll, this offers a huge increase in the flexibility and freedom of what can easily be deployed to GitHub Pages without the extra acrobatics of clever third-party Actions such as JamesIves/github-pages-deploy-action@v4. ❤️ 🤸

Why?

Demo

Using this deployment workflow for my fork, you can see it currently hosted on GitHub Pages:

TODO

Before merging

After merging