Menu

A while ago I wrote detailed tutorial on how to deploy Serverless applications using Github Actions.

In this article I'm going to share my deployment flow I use to deploy my personal website built on Jigsaw to Github Pages.

The deployment process consists of several sequential steps:

You may see entire deployment script on the gist below:

A few other notes:

To allow deployment script push build_production to remote gh-pages branch, you need to go to your Github Settings → Personal Access Tokens and create a new token. Then you need to add this token to repository's Secrets. Then, you can access that token in deployment script as variable stored under secrets keyword, for example: ${{secrets.DEPLOY_KEY}}

Feel free to modify this deployment script as needed.

Share this post:
Comments or questions? Shoot me a tweet!