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}}