modifiche al file /gihub/workflow/deploy.yml
This commit is contained in:
parent
3b4f020bab
commit
f05bf838d2
1 changed files with 4 additions and 2 deletions
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
- run: npm ci --prefer-offline
|
- run: npm ci --prefer-offline
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
env:
|
env:
|
||||||
VITE_API_URL: https://prenotazionibackend.andreavillari.it
|
VITE_API_URL: https://esameits24-26backend.andreavillari.it
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
needs: build
|
needs: build
|
||||||
|
|
@ -33,4 +33,6 @@ jobs:
|
||||||
echo "START DEPLOY"
|
echo "START DEPLOY"
|
||||||
cd /root/esameits24-26frontend
|
cd /root/esameits24-26frontend
|
||||||
git pull --ff-only
|
git pull --ff-only
|
||||||
docker compose up -d --build
|
docker compose --progress plain up -d --build
|
||||||
|
docker compose ps
|
||||||
|
echo "DEPLOY COMPLETE"
|
||||||
Loading…
Add table
Reference in a new issue