Skip to content

Commit

Permalink
checkout to specified branch
Browse files Browse the repository at this point in the history
  • Loading branch information
yourmoonlight committed Jul 17, 2024
1 parent 2d0e4f4 commit 2a05dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 pull origin fix_deploy_test && bash scripts/deploy_rooch.sh \
"cd /root/rooch && git fetch origin && git checkout $(basename ${{ github.ref }}) && bash scripts/deploy_rooch.sh \
'${{ env.REF }}' \
'${{ secrets.BTC_TEST_RPC_URL }}' \
'${{ secrets.BTC_TEST_RPC_PWD }}' \
Expand Down

0 comments on commit 2a05dde

Please sign in to comment.