From 85588c214696fe4d5ab708449d60622691a95e55 Mon Sep 17 00:00:00 2001 From: Manolis Papadeas <35376950+OverloadedOrama@users.noreply.github.com> Date: Thu, 25 Jun 2020 20:37:14 +0300 Subject: [PATCH] Deploy to GitHub Pages from GitHub Actions --- .github/workflows/godot-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/godot-ci.yml b/.github/workflows/godot-ci.yml index 357075d..ca1e88c 100644 --- a/.github/workflows/godot-ci.yml +++ b/.github/workflows/godot-ci.yml @@ -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