Insert chained Docker calls into a single line

This commit is contained in:
Maciej Pędzich 2024-03-26 19:16:30 +01:00
parent 496523f3fe
commit b477aa0a48

View File

@ -11,6 +11,4 @@ jobs:
- name: Build Docker image
run: docker build -t maciejpedzi.ch:latest .
- name: Rerun website's Docker container
run: docker stop my_website && \
docker rm my_website && \
docker run -d -p 8505:80 --name my_website maciejpedzi.ch:latest
run: docker stop my_website && docker rm my_website && docker run -d -p 8505:80 --name my_website maciejpedzi.ch:latest