Commit 2fe9e9f4 authored by Anthony Gautreau's avatar Anthony Gautreau
Browse files

update id project

parent 83cb7962
Loading
Loading
Loading
Loading
Loading
+3 −3
Changes for .gitlab-ci.yml: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ publish_php:
  rules:
    - if: '$CI_COMMIT_TAG'
  script:
    - export NO_PROXY=unicaen.fr ; curl 'https://packagist.unicaen.fr/build?name=unicaen/utilisateur-bundle'
    - curl 'https://packagist.unicaen.fr/build?name=unicaen/utilisateur-bundle'

# Publier sur GitLab Registry
publish_js:
@@ -41,6 +41,6 @@ publish_js:
  script:
    - cd $JS_DIR
    - npm ci
    - echo "@unicaen:registry=https://git.unicaen.fr/api/v4/projects/4318/packages/npm/" > .npmrc
    - echo "//git.unicaen.fr/api/v4/projects/4318/packages/npm/:_authToken=$NPM_DEPLOY_TOKEN" >> .npmrc
    - echo "@unicaen:registry=https://git.unicaen.fr/api/v4/projects/3657/packages/npm/" > .npmrc
    - echo "//git.unicaen.fr/api/v4/projects/3657/packages/npm/:_authToken=$NPM_DEPLOY_TOKEN" >> .npmrc
    - npm publish --access public
 No newline at end of file