Auto deploy Hotfix

This commit is contained in:
Stanislaw
2022-06-20 20:48:42 +02:00
parent a4e3f6f025
commit 7a7158a2c9

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