We will learn how to deploy an app on GitHub Pages with GitHub Actions!
- GitHub* ...
- GitHub Pages* ...
Recently bought by Microsoft (... 2018) ... scared about the future of GitHub, but since then, we got:
-
GitHub private repositories hosted FREE-OF-CHARGE!
-
and an amazing new feature: GitHub Actions 🚀🚀🚀 🎊🎊🎊 !!!
-
GitHub Actions*
- GitHub Actions is still in Beta you can sign up here.
-
Free for open source projects
-
hosted and maintained by GitHub (aka the giant... Microsoft!)
Typically "made by GitHub", you can manage verions of files using the powerful git
software, either:
- from the GUI (practical for newbies using
git
but also for getting used to more advanced commands) - from a terminal and command lines (practical when using
git
within scripts, typically SHELL scripts or Dockerfiles)
IFFT-like experience right within GitHub
- build an Hellow World app, e.g. in Vue.JS
- Test your app locally
- Deploy it by writing the building steps in a recipe which you store in a config file (in
.github/workflows/my_new_CI_workflow.yml
), which can also be generated from GUI
Add screenshots of the steps !!!
https://natemoo.re/posts/action-firebase
Better reproducibility, easily transferable to other cloud provider!
How to CI and CD a Node.JS Application Using GitHub Actions: https://blog.bitsrc.io/https-medium-com-adhasmana-how-to-do-ci-and-cd-of-node-js-application-using-github-actions-860007bebae6
- Custom domain name
- Creating a commit with multiple co-authors