diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dc7d82e..e81fdd3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -204,7 +204,7 @@ jobs: - name: Deploy to GitHub Pages uses: actions/deploy-pages@v1 with: - token: ${{ secrets.GIT_PAT }} + token: ${{ secrets.GIT_TOKEN }} push: runs-on: self-hosted @@ -214,9 +214,9 @@ jobs: run: | git config --global user.name "miloswrath" git config --global user.email "miloswrath@users.noreply.github.com" - git remote set-url origin https://x-access-token:${{ secrets.GIT_PAT }}@github.com/$GITHUB_REPOSITORY + git remote set-url origin https://x-access-token:${{ secrets.GIT_TOKEN }}@github.com/$GITHUB_REPOSITORY git add . git commit -m "Automated commit by GitHub Actions" git push env: - GITHUB_TOKEN: ${{ secrets.GIT_PAT }} + GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}