This GitHub Action automates the build and deployment process for Minifront.
-
Fork this repository to your own GitHub account.
-
Add Environment Secrets. You do not need to customize the
.github/workflows/deploy-minifront.yml
file. Simply add the necessary environment secrets in your GitHub repository for your desired hosting providers:- You can use as many as you like, they will all be deployed sequentially.
- Providers without configured secrets won't run.
- Github Pages are deployed automatically, but need to be enabled in your repository settings.
- Change cron frequency as desired (given GitHub free tier, you can deploy at most every 4 hours).
-
Enable GitHub Actions. Make sure GitHub Actions are enabled in your forked repository (Settings > Actions > General).
-
Enjoy Automatic Deployments!. Your Minifront App will now automatically build and deploy:
- Every 6 hours
- When manually triggered via the "Actions" tab in your GitHub repository