diff --git a/.github/push-to-master-action/entrypoint.sh b/.github/push-to-master-action/entrypoint.sh index 50c249d..e62a823 100644 --- a/.github/push-to-master-action/entrypoint.sh +++ b/.github/push-to-master-action/entrypoint.sh @@ -7,4 +7,4 @@ git config --global user.email "26531118+nchlswhttkr@users.noreply.github.com" git init git add . git commit -m "Deploy" -git push --force https://nchlswhttkr:$GITHUB_TOKEN@github.com/nchlswhttkr/nchlswhttkr.github.io master +git push --force https://nchlswhttkr:$PERSONAL_ACCESS_TOKEN@github.com/nchlswhttkr/nchlswhttkr.github.io.git master diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 97f3e82..062ecaf 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -13,4 +13,4 @@ jobs: - uses: docker://registry.gitlab.com/pages/hugo:latest - uses: ./.github/push-to-master-action env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}