feat: git pull code

Signed-off-by: 逆流而上 <1666888816@qq.com>
This commit is contained in:
逆流而上 2024-02-29 17:30:54 +08:00
parent 6eb9a4988b
commit ac37bdbe1d

View File

@ -132,9 +132,11 @@ jobs:
run: |
if [ ${{ github.event.action }} == 'GitHub' ];then
git clone -b ${{ github.event.client_payload.branch }} ${{ github.event.client_payload.clone_url }}/rainbond-operator.git
git pull
cd rainbond-operator
else
git clone -b $OPERATOR_BRANCH $OPERATOR_URL/rainbond-operator.git
git pull
cd rainbond-operator
fi
chmod +x ./release.sh