Merge pull request #22 from OverloadedOrama/master

Deploy to GitHub Pages from GitHub Actions
This commit is contained in:
Kotob
2020-06-26 12:10:50 +03:00
committed by GitHub

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