diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 64ec836..935a876 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,8 +79,6 @@ jobs: runs-on: ubuntu-latest needs: build if: ${{ github.ref_name == github.event.repository.default_branch || github.event_name == 'release' }} - env: - GITHUB_TOKEN: ${{ secrets.GH_PAT }} steps: - name: Checkout @@ -133,4 +131,4 @@ jobs: git diff --quiet && git diff --staged --quiet || git commit -m "Update - /" - name: Push - run: git push origin gh-pages \ No newline at end of file + run: git push https://x-access-token:${{ secrets.GH_PAT }}@github.com/${{ github.repository }}.git HEAD:gh-pages --force \ No newline at end of file