diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7939830..e1229b0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,6 +10,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + token: ${{ secrets.GH_PAGES_GITHUB_TOKEN }} - name: setup-ruby uses: ruby/setup-ruby@v1 with: @@ -22,7 +24,8 @@ jobs: run: | cd ./_site git init - git config user.name "GithubActions CI/CD" + git config user.name github-actions + git config user.email github-actions@github.com git add . && git commit -m "Deploy github-pages" - git remote add origin https://rtancman:${{ secrets.GH_PAGES_GITHUB_TOKEN }}@github.com/pythonbnu/pythonbnu.github.io.git + git remote add origin https://github.com/pythonbnu/pythonbnu.github.io.git git push origin master -f \ No newline at end of file