Skip to content

Commit

Permalink
stop all running containers before redeploying
Browse files Browse the repository at this point in the history
  • Loading branch information
linozen committed Jul 27, 2021
1 parent c7c48b6 commit 0923069
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
key: ${{ secrets.KEY }}
script: |
docker pull ghcr.io/snv-berlin/streamlit-ioi-base:latest
docker stop $(docker ps -a -q)
docker run -d -p 8501:8501 ghcr.io/snv-berlin/streamlit-ioi-base:latest streamlit run --server.port 8501 explorer/merged.py
docker run -d -p 8502:8502 ghcr.io/snv-berlin/streamlit-ioi-base:latest streamlit run --server.port 8502 explorer/media.py
docker run -d -p 8503:8503 ghcr.io/snv-berlin/streamlit-ioi-base:latest streamlit run --server.port 8503 explorer/civsoc.py

0 comments on commit 0923069

Please sign in to comment.