diff --git a/.github/workflows/deploy_testnet.yml b/.github/workflows/deploy_testnet.yml index bb7bae9d3e..cd6925e7f3 100644 --- a/.github/workflows/deploy_testnet.yml +++ b/.github/workflows/deploy_testnet.yml @@ -67,7 +67,7 @@ jobs: sudo apt update sudo apt install -y --no-install-recommends openssh-server ssh -o StrictHostKeyChecking=no -i private_key.pem $USER@$HOST \ - "cd /root/rooch && git checkout -b fix_deploy_test origin/fix_deploy_test && bash scripts/deploy_rooch.sh \ + "cd /root/rooch && git fetch && git checkout -b fix_deploy_test origin/fix_deploy_test && bash scripts/deploy_rooch.sh \ '${{ env.REF }}' \ '${{ secrets.BTC_TEST_RPC_URL }}' \ '${{ secrets.BTC_TEST_RPC_PWD }}' \