We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a458863 commit 7703ef0Copy full SHA for 7703ef0
.github/workflows/release.yml
@@ -59,4 +59,4 @@ jobs:
59
key: ${{ secrets.OMEGA_SSH_KEY }}
60
known_hosts: ${{ secrets.KNOWN_HOSTS }}
61
- name: Deploy with docker
62
- run: ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} -p ${{ secrets.SSH_PORT }} "docker stop bethanyj28_battlesnek; docker pull ghcr.io/bethanyj28/battlesnek:latest; docker run --name bethanyj28_battlesnek --rm -d --network=proxy ghcr.io/bethanyj28/battlesnek:latest"
+ run: ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} -p ${{ secrets.SSH_PORT }} "docker stop bethanyj28_battlesnek; docker pull ghcr.io/bethanyj28/battlesnek:latest; docker run --name bethanyj28_battlesnek --restart unless-stopped --rm -d --network=proxy ghcr.io/bethanyj28/battlesnek:latest"
0 commit comments