Skip to content

Commit

Permalink
Stop existing docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
ngregrichardson committed Oct 31, 2021
1 parent 39c9518 commit d52e34d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Build Docker
- name: Stop Docker
run: docker stop portfolio
continue-on-error: true
- name: Build Docker Image
run: docker build -t portfolio .
- name: Run Docker
run: docker run -d -p 3000:3000 portfolio
- name: Start Docker
run: docker run -d -p 3000:3000 --name portfolio portfolio

0 comments on commit d52e34d

Please sign in to comment.