Update upy.yml
This commit is contained in:
1 parent
196f6cef38
commit
51badcc815
1 file changed
+6
-5
@@ -23,15 +23,16 @@ jobs:
|
|||||||
else
|
else
|
||||||
echo "Password is set"
|
echo "Password is set"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: Install upx-cli
|
- name: Download upx-cli
|
||||||
run: |
|
run: |
|
||||||
curl -s https://packagecloud.io/install/repositories/upyun/upx/script.deb.sh | sudo bash
|
curl -L https://github.com/upyun/upx/releases/download/v0.2.4/upx-v0.2.4-linux-amd64.tar.gz -o upx.tar.gz
|
||||||
sudo apt-get install upx
|
tar -xzvf upx.tar.gz
|
||||||
|
sudo mv upx /usr/local/bin/
|
||||||
|
|
||||||
- name: Delete files in UpYun bucket
|
- name: Delete files in UpYun bucket
|
||||||
run: |
|
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
|
- name: Deploy to UpYun
|
||||||
uses: her-cat/upyun-deployer@v1.0.3
|
uses: her-cat/upyun-deployer@v1.0.3
|
||||||
|
|||||||
Reference in new issue
Block a user