diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 94ddf32..36ccaa9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -59,19 +59,20 @@ jobs: run: find . -type d -# - name: Deploy main -# uses: JamesIves/github-pages-deploy-action@v4.4.2 -# with: -# branch: gh-pages # The branch the action should deploy to. -# folder: ./webroot # The folder the action should deploy. -# target-folder: website -# commit-message: Deploy website preview -# single-commit: true -# clean: false - - - name: Deploy to gh-pages - uses: peaceiris/actions-gh-pages@v3 + - name: Deploy main + uses: JamesIves/github-pages-deploy-action@v4.4.2 with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./webroot - destination_dir: website + branch: gh-pages # The branch the action should deploy to. + folder: ./webroot # The folder the action should deploy. + token: ${{ secrets.GITHUB_TOKEN }} + target-folder: website + commit-message: Deploy website preview + single-commit: true + clean: false + +# - name: Deploy to gh-pages +# uses: peaceiris/actions-gh-pages@v3 +# with: +# github_token: ${{ secrets.GITHUB_TOKEN }} +# publish_dir: ./webroot +# destination_dir: website