mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2024-11-27 15:45:47 +01:00
Insert chained Docker calls into a single line
This commit is contained in:
parent
496523f3fe
commit
b477aa0a48
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user