diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e3371a4..58df783 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -14,7 +14,9 @@ jobs: - uses: actions/checkout@v2 - name: Stop Docker - run: docker stop portfolio + run: | + docker stop portfolio + docker rm portfolio continue-on-error: true - name: Build Docker Image run: docker build -t portfolio .