Update upy.yml
This commit is contained in:
1 parent
ec0d72284a
commit
196f6cef38
1 file changed
+10
-1
@@ -24,6 +24,15 @@ jobs:
|
||||
echo "Password is set"
|
||||
fi
|
||||
|
||||
- name: Install upx-cli
|
||||
run: |
|
||||
curl -s https://packagecloud.io/install/repositories/upyun/upx/script.deb.sh | sudo bash
|
||||
sudo apt-get install upx
|
||||
|
||||
- name: Delete files in UpYun bucket
|
||||
run: |
|
||||
upx rm -r /${{ secrets.UPYUN_BUCKET }}/ --user ${{ secrets.UPYUN_OPERATOR }} --password ${{ secrets.UPYUN_PASSWORD }}
|
||||
|
||||
- name: Deploy to UpYun
|
||||
uses: her-cat/upyun-deployer@v1.0.3
|
||||
with:
|
||||
@@ -31,4 +40,4 @@ jobs:
|
||||
operator: ${{ secrets.UPYUN_OPERATOR }}
|
||||
password: ${{ secrets.UPYUN_PASSWORD }}
|
||||
dir: 'public' # 确认这个目录是您的构建输出目录
|
||||
publish_dir: '/'
|
||||
publish_dir: '/' # 确认这个是您想要刷新的目录
|
||||
Reference in new issue
Block a user