Update upy.yml
This commit is contained in:
1 file changed
+6
-5
@@ -23,15 +23,16 @@ jobs:
|
||||
else
|
||||
echo "Password is set"
|
||||
fi
|
||||
|
||||
- name: Install upx-cli
|
||||
|
||||
- name: Download upx-cli
|
||||
run: |
|
||||
curl -s https://packagecloud.io/install/repositories/upyun/upx/script.deb.sh | sudo bash
|
||||
sudo apt-get install upx
|
||||
curl -L 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: |
|
||||
upx rm -r /${{ secrets.UPYUN_BUCKET }}/ --user ${{ secrets.UPYUN_OPERATOR }} --password ${{ secrets.UPYUN_PASSWORD }}
|
||||
/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
|
||||
|
||||
Reference in new issue
Block a user