Skip to content

Commit

Permalink
ci: Fix wrong deploy step
Browse files Browse the repository at this point in the history
  • Loading branch information
LucJosin committed Nov 8, 2023
1 parent f89b88a commit cefdbbd
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ jobs:
- name: Build docs
run: yarn build:doc

- run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- uses: LucJosin/publish-orphan-branch@main
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3
with:
ARGS: '--dir "docs" --branch "ph-pages"'
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
publish_branch: ph-pages
enable_jekyll: false
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'

0 comments on commit cefdbbd

Please sign in to comment.