From a329298fc5412de6e3b5575c003a38664bcffd1d Mon Sep 17 00:00:00 2001 From: Emmanouil Papadeas Date: Sun, 7 Aug 2022 19:19:33 +0300 Subject: [PATCH] Update web workflows deploy step I suppose this counts as a second attempt to update to Godot 3.5? Only Web builds failed in the last commit, and I'm not sure if this will fix anything --- .github/workflows/dev-web.yml | 9 ++++----- .github/workflows/release.yml | 7 +++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/dev-web.yml b/.github/workflows/dev-web.yml index 7873573fd..b3da54eb8 100644 --- a/.github/workflows/dev-web.yml +++ b/.github/workflows/dev-web.yml @@ -29,9 +29,8 @@ jobs: run: | apt-get update && apt-get install -y rsync - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@releases/v3 + uses: JamesIves/github-pages-deploy-action@4.4.0 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. - TARGET_FOLDER: early_access + token: ${{ secrets.GITHUB_TOKEN }} + folder: build/web # The folder the action should deploy. + target-folder: early_access diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b67fd12e4..261e34492 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -207,11 +207,10 @@ jobs: run: | apt-get update && apt-get install -y rsync - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@releases/v3 + uses: JamesIves/github-pages-deploy-action@4.4.0 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. + token: ${{ secrets.GITHUB_TOKEN }} + folder: build/web # The folder the action should deploy. - name: Upload Release Assets to itch.io 🎮 run: | butler push ./build/web ${{ secrets.ITCHIO_USERNAME }}/${{ secrets.ITCHIO_GAME }}:web --userversion ${{env.TAG}}