Update deploy.yml
All checks were successful
Deploy website to Docker Container / deploy (push) Successful in 33s

This commit is contained in:
TheThomaas 2023-05-26 21:59:00 +02:00
parent dcd1ca5a12
commit c1bac6b6d6

View file

@ -21,6 +21,8 @@ jobs:
- name: Build Docker image
run: docker build -t ${{ secret.CONTAINER_IMAGE }} --build-arg SITE_DIRECTORY=dist .
- run: echo "${{ github.repository }}"
- name: Remove old Docker container
run: |
docker stop ${{ secret.CONTAINER_NAME }} || true && docker rm ${{ secret.CONTAINER_NAME }} || true