Skip to content

Commit

Permalink
chore: fix site path error
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarebecca committed Nov 27, 2023
1 parent 3932df6 commit b941121
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- uses: actions/checkout@v2
- run: pnpm install
- run: pnpm build
- run: cd site && pnpm site:build
- run: cp ./site/CNAME ./site/dist/CNAME
- run: pnpm build:site
- run: cp ./packages/site/CNAME ./packages/site/dist/CNAME
- run: |
cd site/dist
cd ./packages/site/dist
git init
git config --local user.name antv
git config --local user.email [email protected]
Expand All @@ -28,6 +28,6 @@ jobs:
- uses: ad-m/github-push-action@master
with:
github_token: ${{secrets.PERSONAL_ACCESS_TOKEN}}
directory: site/dist
directory: ./packages/site/dist
branch: v4-site
force: true

0 comments on commit b941121

Please sign in to comment.