Skip to content
Snippets Groups Projects

Fix de la pipeline ci/cd

Merged MARTIN Pierre-Alexandre requested to merge ci-cd into main
+ 1
19
@@ -2,12 +2,6 @@ image: node:22
stages:
- build
- deploy
cache:
key: "$CI_COMMIT_REF_SLUG"
paths:
- node_modules/
variables:
NUXT_ENV: production
@@ -17,18 +11,6 @@ build:
script:
- npm ci
- npm run build
- ls -l .nuxt dist
artifacts:
paths:
- .nuxt/
- dist/
only:
- main
- merge_requests
deploy:
stage: deploy
script:
- rsync -avz dist/ user@server:/var/www/nuxt
only:
- main
- .output/
Loading