fix: repull docker images before deploying
All checks were successful
Build and Deploy Go App / build (push) Successful in 6m17s
Build and Deploy Go App / deploy (push) Successful in 2m41s

This commit is contained in:
nihonium 2025-10-09 17:31:40 +03:00
parent 9091d11810
commit c1e8d52aea
Signed by: nihonium
GPG key ID: 0251623741027CFC

View file

@ -42,9 +42,10 @@ jobs:
cache-dependency-path: modules/frontend/package-lock.json
- name: Build frontend
env:
VITE_BACKEND_API_BASE_URL: ${{ vars.BACKEND_API_BASE_URL }}
run: |
cd modules/frontend
echo "VITE_BACKEND_API_BASE_URL=${{ vars.BACKEND_API_BASE_URL }}" > .env
npm install
npm run build
tar -czvf nyanimedb-frontend.tar.gz dist/
@ -101,4 +102,5 @@ jobs:
run: |
cd deploy
docker compose down || true
docker-compose pull || true
docker compose up -d