From 57a79f16a5b9fecf744f58f1d329e802d29249b9 Mon Sep 17 00:00:00 2001 From: antifallobst Date: Thu, 12 Oct 2023 20:46:15 +0200 Subject: [PATCH] ci: added deployment routine --- .gitea/workflows/deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 91b0c1b..7b33e74 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -20,6 +20,8 @@ jobs: context: . load: true tags: nerdcult_frontend:latest - - name: Inspect + - name: Deploy run: | - docker image inspect nerdcult_frontend:latest \ No newline at end of file + docker stop nerdcult-frontend + docker rm nerdcult-frontend + docker run --name=nerdcult-frontend --restart=always -p 16396:80 -d nerdcult_frontend