Skip to content

Commit

Permalink
Fix: Correct GitHub token usage for gh-pages branch cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
xoorbes committed Sep 1, 2024
1 parent 4781ce1 commit f8c2ca3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ jobs:
git rm -rf .
git clean -fdx
git commit --allow-empty -m "Clean gh-pages branch"
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/ttsk-ngo/swdr5-docs.git gh-pages
git push origin gh-pages

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
Expand Down

0 comments on commit f8c2ca3

Please sign in to comment.