Skip to content
Snippets Groups Projects
Commit e029786a authored by MARTIN Pierre-Alexandre's avatar MARTIN Pierre-Alexandre
Browse files

Merge branch 'ci-cd' into 'main'

Fix de la pipeline ci/cd

See merge request !1
parents 89a1cc7d f31cba77
Branches
No related tags found
1 merge request!1Fix de la pipeline ci/cd
Pipeline #23943 passed
image: node:22 image: node:22
stages: stages:
- install
- build - build
- deploy
cache:
paths:
- node_modules/
variables: variables:
NUXT_ENV: production NUXT_ENV: production
install:
stage: install
script:
- npm ci
only:
- main
build: build:
stage: build stage: build
script: script:
- npm ci
- npm run build - npm run build
artifacts: artifacts:
paths: paths:
- .nuxt/ - .output/
- dist/
only:
- main
deploy:
stage: deploy
script:
- rsync -avz dist/ user@server:/var/www/nuxt
only:
- main
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment