fix(ci): Update artifact upload path to target public directory

This commit is contained in:
Félix MARQUET
2025-06-22 13:22:40 +02:00
parent 29fa37f2f2
commit 3b95306974
2 changed files with 2 additions and 2 deletions

View File

@@ -85,7 +85,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: nuxt-frontend
path: web/.output # Uniquement télécharger le répertoire .output
path: web/.output/public # Cibler spécifiquement le répertoire public
docker-build-push:
if: ${{ github.actor != 'dependabot[bot]' && !startsWith(github.ref, 'refs/heads/dependabot/') }}

View File

@@ -10,7 +10,7 @@ RUN apk add --no-cache sqlite-libs openssl nginx nodejs npm && \
WORKDIR /app
# Copier les fichiers web dans le répertoire attendu par nginx
COPY web-output /var/www/html/
COPY web-output/public /var/www/html/
COPY nginx.conf /etc/nginx/nginx.conf
# Copier le script d'entrée