From 71b3d4796a8ec7f3e089eddecd3f7ad8df4fc165 Mon Sep 17 00:00:00 2001 From: Raffael Tancman Date: Tue, 30 May 2023 09:24:14 -0300 Subject: [PATCH] Fix the githubactions deployment --- .github/workflows/deploy.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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