mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-22 09:15:40 +00:00
Update workflow
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 2m20s
All checks were successful
Build And Publish / BuildAndPublish (push) Successful in 2m20s
This commit is contained in:
parent
c0db78e6b4
commit
a0cf1436b7
@ -40,13 +40,11 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1
|
tags: ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1
|
||||||
|
|
||||||
- name: Stop the docker container
|
- name: Stop and remove old Docker container
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: sudo docker stop portfolio
|
run: |
|
||||||
|
sudo docker stop portfolio
|
||||||
- name: Remove the docker container
|
sudo docker rm portfolio
|
||||||
continue-on-error: true
|
|
||||||
run: sudo docker rm portfolio
|
|
||||||
|
|
||||||
- name: Pull the Docker image
|
- name: Pull the Docker image
|
||||||
run: sudo docker pull ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1
|
run: sudo docker pull ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1
|
||||||
|
Loading…
Reference in New Issue
Block a user