Skip to content

Commit

Permalink
Auto deploy website (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
HTHou authored Mar 14, 2024
1 parent f7ba063 commit 919e751
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/site-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,12 @@ jobs:
pnpm run docs:build
> src/.vuepress/dist/.nojekyll
# - name: Deploy website
# env:
# TSFILE_WEBSITE_BUILD: ${{ secrets.TSFILE_WEBSITE_BUILD }}
# run: |
# cd docs
# git config --global url."https://asf-ci-deploy:$IOTDB_WEBSITE_BUILD@github.com/apache/".insteadOf "https://github.com/apache/"
# git config --global user.name github-actions
# git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
# npm run deploy
- name: Deploy website
env:
TSFILE_WEBSITE_BUILD: ${{ secrets.TSFILE_WEBSITE_BUILD }}
run: |
cd docs
git config --global url."https://asf-ci-deploy:$TSFILE_WEBSITE_BUILD@github.com/apache/".insteadOf "https://github.com/apache/"
git config --global user.name github-actions
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
npm run deploy

0 comments on commit 919e751

Please sign in to comment.