Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cao-gift authored Feb 13, 2025
1 parent 49ad277 commit 47daaa6
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,19 @@ jobs:

steps:
- uses: actions/checkout@master
- name: Deploy
uses: her-cat/[email protected]

- name: deploy-upyun
uses: bwcxyk/[email protected]
env:
UPX_SERVICENAME: ${{ secrets.UPX_SERVICENAME }}
UPX_OPERATOR: ${{ secrets.UPX_OPERATOR }}
UPX_PASSWORD: ${{ secrets.UPX_PASSWORD }}
LOCAL_DIR: ./docs/
REMOTE_DIR: /

- name: Upyun Refresh
uses: yiyungent/upyun-action@main
with:
bucket: ${{ secrets.UPYUN_BUCKET }}
operator: ${{ secrets.UPYUN_OPERATOR_NAME }}
password: ${{ secrets.UPYUN_OPERATOR_PWD }}
dir: 'docs'
publish_dir: '/'
upyun_username: ${{ secrets.UPYUN_USERNAME }}
upyun_password: ${{ secrets.UPYUN_PASSWORD }}
refresh_cache_urls: "https://blog.freeblock.cn/*"

0 comments on commit 47daaa6

Please sign in to comment.