Update upy.yml

This commit is contained in:
小赵同学 authored and GitHub committed 2024-07-28 11:28:20 +08:00
1 parent c7980596fb
commit 19bfce911b
1 file changed
+1 -12
+1 -12
View File
@@ -23,17 +23,6 @@ jobs:
else else
echo "Password is set" echo "Password is set"
fi 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 - name: Deploy to UpYun
uses: her-cat/upyun-deployer@v1.0.3 uses: her-cat/upyun-deployer@v1.0.3
with: with:
@@ -41,4 +30,4 @@ jobs:
operator: ${{ secrets.UPYUN_OPERATOR }} operator: ${{ secrets.UPYUN_OPERATOR }}
password: ${{ secrets.UPYUN_PASSWORD }} password: ${{ secrets.UPYUN_PASSWORD }}
dir: 'public' # 确认这个目录是您的构建输出目录 dir: 'public' # 确认这个目录是您的构建输出目录
publish_dir: '/' # 确认这个是您想要刷新的目录 publish_dir: '/'