From 62de098576d78b67922a24e8b1e77fcb35a3813e Mon Sep 17 00:00:00 2001 From: GilbN <24592972+GilbN@users.noreply.github.com> Date: Sat, 30 Sep 2023 11:17:43 +0200 Subject: [PATCH] try GITHUB_TOKEN --- .github/workflows/minify-and-deploy.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/minify-and-deploy.yml b/.github/workflows/minify-and-deploy.yml index 1f2c9a55..7c166537 100644 --- a/.github/workflows/minify-and-deploy.yml +++ b/.github/workflows/minify-and-deploy.yml @@ -23,7 +23,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.1.0 + - uses: actions/checkout@v4.1.0 with: fetch-depth: 0 - name: Wrong domain check @@ -34,7 +34,7 @@ jobs: exit 1 fi - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4.3.0 + uses: actions/setup-python@v4.7.0 with: python-version: '3.10' - name: Run themes.py @@ -65,28 +65,28 @@ jobs: fi done - name: Deploy - uses: peaceiris/actions-gh-pages@v3.8.0 + uses: peaceiris/actions-gh-pages@v3.9.3 if: ${{ github.ref == 'refs/heads/master' || github.event.inputs.branch == 'master' }} with: publish_dir: ./ publish_branch: live - github_token: ${{ secrets.GH_PAT }} + github_token: ${{ secrets.GITHUB_TOKEN }} exclude_assets: '' - name: Deploy Develop - uses: peaceiris/actions-gh-pages@v3.8.0 + uses: peaceiris/actions-gh-pages@v3.9.3 if: ${{ github.ref == 'refs/heads/develop' || github.event.inputs.branch == 'develop' }} with: publish_dir: ./ publish_branch: live_develop - github_token: ${{ secrets.GH_PAT }} + github_token: ${{ secrets.GITHUB_TOKEN }} exclude_assets: '' - name: Deploy Testing - uses: peaceiris/actions-gh-pages@v3.8.0 + uses: peaceiris/actions-gh-pages@v3.9.3 if: ${{ github.ref == 'refs/heads/testing' || github.event.inputs.branch == 'testing' }} with: publish_dir: ./ publish_branch: live_testing - github_token: ${{ secrets.GH_PAT }} + github_token: ${{ secrets.GITHUB_TOKEN }} exclude_assets: '' - name: Clear CF Cache run: |