Merge pull request #5 from gractwo/dzioba-dev

Auto deploy Hotfix
This commit is contained in:
Stanisław Dzioba
2022-06-20 20:49:56 +02:00
committed by GitHub

View File

@@ -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