Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
lhq01844380@antgroup.com committed Jul 5, 2024
1 parent f66cf93 commit 2b14d98
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/docusaurus-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,19 @@ jobs:
file: 'algolia-config.json'
- name: creates output
run: npm install && npm run build --config docs
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main
env:
SSH_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
source-directory: 'docs/build'
destination-github-username: 'layotto'
destination-repository-name: 'layotto.github.io'
target-branch: main
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: layotto/layotto.github.io
publish_dir: docs/build
publish_branch: main
# - name: Pushes to another repository
# uses: cpina/github-action-push-to-another-repository@main
# env:
# SSH_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
# with:
# source-directory: 'docs/build'
# destination-github-username: 'layotto'
# destination-repository-name: 'layotto.github.io'
# target-branch: main

0 comments on commit 2b14d98

Please sign in to comment.