mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-25 02:05:42 +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
|
||||
tags: ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1
|
||||
|
||||
- name: Stop the docker container
|
||||
- name: Stop and remove old Docker container
|
||||
continue-on-error: true
|
||||
run: sudo docker stop portfolio
|
||||
|
||||
- name: Remove the docker container
|
||||
continue-on-error: true
|
||||
run: sudo docker rm portfolio
|
||||
run: |
|
||||
sudo docker stop portfolio
|
||||
sudo docker rm portfolio
|
||||
|
||||
- name: Pull the Docker image
|
||||
run: sudo docker pull ${{secrets.DOCKER_HUB_USERNAME}}/portfolio:v1
|
||||
|
Loading…
Reference in New Issue
Block a user