Skip to content

Commit

Permalink
chore(doc): update doc release action for github pages publish (#1954)
Browse files Browse the repository at this point in the history
update doc release action for github pages publish
  • Loading branch information
tianweidut authored Mar 14, 2023
1 parent b10d32d commit 5485203
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,12 +89,12 @@ jobs:
cp -R docs/i18n/zh/docusaurus-plugin-content-docs/version-* docs/build/.archived-versions/i18n/zh/docusaurus-plugin-content-docs/
- name: Publish to Github Pages
if: ${{ github.ref == 'refs/heads/main'}}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build
user_name: github-actions[bot]
keep_files: true
cname: doc.starwhale.ai
user_email: "github-actions[bot]@users.noreply.github.com"

Expand Down

0 comments on commit 5485203

Please sign in to comment.