Skip to content
Snippets Groups Projects

Fix de la pipeline ci/cd

Merged MARTIN Pierre-Alexandre requested to merge ci-cd into main
+ 3
9
@@ -17,18 +17,12 @@ build:
script:
- npm ci
- npm run build
- ls -l .nuxt dist
- ls -l .output/public
artifacts:
paths:
- .nuxt/
- dist/
only:
- main
- merge_requests
- .output/
deploy:
stage: deploy
script:
- rsync -avz dist/ user@server:/var/www/nuxt
only:
- main
- rsync -avz .output/public/ user@server:/var/www/nuxt
Loading