Skip to content

Commit

Permalink
build: fixup follow asfyaml rules (#4566)
Browse files Browse the repository at this point in the history
Signed-off-by: tison <wander4096@gmail.com>
  • Loading branch information
tisonkun authored May 2, 2024
1 parent ab1dccd commit f60f39d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -486,15 +486,15 @@ jobs:
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: website/build
publish_branch: site/main
publish_branch: site/main-staging

- name: Deploy to rc staged
uses: peaceiris/actions-gh-pages@v3.9.2
if: ${{ startsWith(github.ref, 'refs/tags/') && contains(github.ref, 'rc') }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: website/build
publish_branch: site/${{ github.ref_name }}
publish_branch: site/${{ github.ref_name }}-staging

- name: Clear build
run: rm -rf ./website/build
Expand Down

0 comments on commit f60f39d

Please sign in to comment.