Skip to content

Commit

Permalink
fix checkout and push
Browse files Browse the repository at this point in the history
  • Loading branch information
jodeleeuw committed Jan 14, 2024
1 parent 38682d8 commit 2faff02
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,14 @@ jobs:
- name: Deploy docs
run: npm run docs:deploy ${{ env.version_major_minor }}

- name: Checkout gh-docs branch
uses: actions/checkout@v2
with:
ref: gh-docs
- name: Switch to gh-pages branch
run: git checkout gh-pages

- name: Push gh-docs branch
- name: Push gh-pages branch
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-docs
branch: gh-pages
force: true


0 comments on commit 2faff02

Please sign in to comment.