From 7a7158a2c9e050719f46c241e841f73bca4b3def Mon Sep 17 00:00:00 2001 From: Stanislaw <62724833+BoberITman@users.noreply.github.com> Date: Mon, 20 Jun 2022 20:48:42 +0200 Subject: [PATCH] Auto deploy Hotfix --- .github/workflows/deploy.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index bbe66d5..7e25286 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -11,11 +11,7 @@ jobs: build: runs-on: self-hosted steps: - - uses: actions/checkout@v3 - - name: Build image - run: docker build -t ${{ github.repository }} . - - name: Deploy image + - name: Deploy run: | - docker stop ${{ github.event.repository.name }} || true - docker rm ${{ github.event.repository.name }} || true - docker run -d -e ${{ github.repository }} + npm install + npm run build