Update upy.yml
This commit is contained in:
1 parent
c7980596fb
commit
19bfce911b
1 file changed
+1
-12
@@ -23,17 +23,6 @@ jobs:
|
||||
else
|
||||
echo "Password is set"
|
||||
fi
|
||||
|
||||
- name: Download upx-cli
|
||||
run: |
|
||||
wget https://github.com/upyun/upx/releases/download/v0.2.4/upx-v0.2.4-linux-amd64.tar.gz -O upx.tar.gz
|
||||
tar -xzvf upx.tar.gz
|
||||
sudo mv upx /usr/local/bin/
|
||||
|
||||
- name: Delete files in UpYun bucket
|
||||
run: |
|
||||
/usr/local/bin/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:
|
||||
@@ -41,4 +30,4 @@ jobs:
|
||||
operator: ${{ secrets.UPYUN_OPERATOR }}
|
||||
password: ${{ secrets.UPYUN_PASSWORD }}
|
||||
dir: 'public' # 确认这个目录是您的构建输出目录
|
||||
publish_dir: '/' # 确认这个是您想要刷新的目录
|
||||
publish_dir: '/'
|
||||
Reference in new issue
Block a user