ci: added deployment routine
Build and Deploy / build-docker (push) Has been cancelled Details

This commit is contained in:
antifallobst 2023-10-12 20:46:15 +02:00
parent 63905fc925
commit 57a79f16a5
Signed by: antifallobst
GPG Key ID: 2B4F402172791BAF
1 changed files with 4 additions and 2 deletions

View File

@ -20,6 +20,8 @@ jobs:
context: .
load: true
tags: nerdcult_frontend:latest
- name: Inspect
- name: Deploy
run: |
docker image inspect nerdcult_frontend:latest
docker stop nerdcult-frontend
docker rm nerdcult-frontend
docker run --name=nerdcult-frontend --restart=always -p 16396:80 -d nerdcult_frontend