Skip to content

Commit

Permalink
fix: action
Browse files Browse the repository at this point in the history
  • Loading branch information
BetaSu committed Jan 4, 2024
1 parent e701521 commit 330828d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
run: npm run docs:build

- name: Deploy to OSS
uses: hayao-k/alioss-action@v1.0
uses: manyuanrong/setup-ossutil@v1.0
with:
args: --bucket ${{ secrets.BUCKET }} --region ${{ secrets.OSS_REGION }} --accessKeyId ${{ secrets.ACCESS_KEY_ID }} --accessKeySecret ${{ secrets.ACCESS_KEY_SECRET }} --localDir ./.vitepress/dist --remoteDir /
endpoint: ${{ secrets.ENDPOINT }}
access-key-id: ${{ secrets.ACCESS_KEY_ID }}
access-key-secret: ${{ secrets.ACCESS_SECRET }}
- run: ossutil cp -rf ./.vitepress/dist oss://${{ secrets.BUCKET }}/

0 comments on commit 330828d

Please sign in to comment.