Skip to content

Commit

Permalink
Fix the githubactions deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
rtancman committed May 30, 2023
1 parent a8103a0 commit 463ef82
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GH_PAGES_GITHUB_TOKEN }}
ref: jekyll
- name: setup-ruby
uses: ruby/setup-ruby@v1
with:
Expand All @@ -22,7 +25,8 @@ jobs:
run: |
cd ./_site
git init
git config user.name "GithubActions CI/CD"
git config user.name grupyblumenau
git config user.email [email protected]
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 push origin master -f

0 comments on commit 463ef82

Please sign in to comment.