Deploy to GitHub Pages from GitHub Actions

This commit is contained in:
Manolis Papadeas
2020-06-25 20:37:14 +03:00
committed by OverloadedOrama
parent 6771866927
commit 85588c2146

View File

@@ -74,6 +74,16 @@ jobs:
with:
name: web
path: build/web
# Installing rsync is needed in order to deploy to GitHub Pages. Without it, the build will fail.
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync
- name: Deploy to GitHub Pages 🚀
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: build/web # The folder the action should deploy.
export-mac:
name: Mac Export