hotfix automation

This commit is contained in:
Stanislaw
2022-06-21 02:24:36 +02:00
parent 87dee2878d
commit d970d13f20

View File

@@ -16,6 +16,6 @@ jobs:
run: docker build -t ${{ github.repository }} . run: docker build -t ${{ github.repository }} .
- name: Deploy image - name: Deploy image
run: | run: |
docker stop ${{ github.repository }} || true docker stop ${{ github.event.repository.name }} || true
docker rm ${{ github.repository }} || true docker rm ${{ github.event.repository.name }} || true
docker run -p 3000:3000 -d ${{ github.repository }} docker run -p 3000:3000 -d --name ${{ github.event.repository.name }} ${{ github.repository }}