Skip to content

Commit

Permalink
also remove
Browse files Browse the repository at this point in the history
  • Loading branch information
echo8 committed Dec 9, 2024
1 parent fc10234 commit d2ed7c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
run: ssh prod 'docker pull ghcr.io/echo8/pastesphere:latest'

- name: Stop server container
run: ssh prod 'docker stop pastesphere'
run: ssh prod 'docker stop pastesphere && docker rm pastesphere'

- name: Start server container with latest image
run: ssh prod "docker run --name pastesphere -d -p 443:443 -v /home/$SSH_USER/data:/data -v /home/$SSH_USER/certs:/certs -e COOKIE_SECRET=$COOKIE_SECRET ghcr.io/echo8/pastesphere:latest"
Expand Down

0 comments on commit d2ed7c7

Please sign in to comment.