Skip to content

Commit

Permalink
Update Update-testnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeyfilyanin authored Sep 19, 2023
1 parent cae5fc3 commit b612372
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/Update-testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ jobs:
key: ${{ secrets.VARA_SSH_PRIVATE_KEY }}
envs: NEW_IMAGE
script: |
echo $NEW_IMAGE
sudo docker-compose -f /home/gear/docker-compose.yaml down
sed -i 's|ghcr.io/gear-tech/node:.*|$NEW_IMAGE|' /home/gear/docker-compose.yaml
sudo docker-compose -f /home/gear/docker-compose.yaml up -d

0 comments on commit b612372

Please sign in to comment.