Skip to content
Snippets Groups Projects
Commit 91cd6d35 authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

fix: cicd

parent 971d94a4
No related branches found
No related tags found
1 merge request!6Feat/get consumption data
Pipeline #28480 failed
...@@ -24,7 +24,7 @@ build-dev: ...@@ -24,7 +24,7 @@ build-dev:
script: script:
- yarn - yarn
- yarn build - yarn build
- git config --global user.name build-pipeline - git config --global user.name build-token
- git config --global user.email "$GIT_USER" - git config --global user.email "$GIT_USER"
- git config --global user.password "$GIT_PWD" - git config --global user.password "$GIT_PWD"
- git config user.email "$GIT_USER" - git config user.email "$GIT_USER"
...@@ -41,7 +41,7 @@ build: ...@@ -41,7 +41,7 @@ build:
script: script:
- yarn - yarn
- yarn build - yarn build
- git config --global user.name build-pipeline - git config --global user.name build-token
- git config --global user.email "$GIT_USER" - git config --global user.email "$GIT_USER"
- git config --global user.password "$GIT_PWD" - git config --global user.password "$GIT_PWD"
- git config user.email "$GIT_USER" - git config user.email "$GIT_USER"
......
...@@ -37,6 +37,9 @@ ...@@ -37,6 +37,9 @@
"accounts": { "accounts": {
"type": "io.cozy.accounts", "type": "io.cozy.accounts",
"verbs": ["GET"] "verbs": ["GET"]
},
"files": {
"type": "io.cozy.files"
}, },
"enedis data": { "enedis data": {
"type": "com.grandlyon.enedis.*" "type": "com.grandlyon.enedis.*"
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
"clean": "rm -rf ./data", "clean": "rm -rf ./data",
"build": "webpack", "build": "webpack",
"lint": "eslint --fix .", "lint": "eslint --fix .",
"deploy": "git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build} --repo=${DEPLOY_REPOSITORY:-$npm_package_repository_url}", "deploy": "git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build}",
"deploy-dev": "git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build-dev} --repo=${DEPLOY_REPOSITORY:-https://forge.grandlyon.com/web-et-numerique/llle_project/enedis-konnector.git}", "deploy-dev": "git-directory-deploy --directory build/ --branch ${DEPLOY_BRANCH:-build-dev} --repo=${DEPLOY_REPOSITORY:-https://forge.grandlyon.com/web-et-numerique/llle_project/enedis-konnector.git}",
"cozyPublish": "cozy-app-publish --token $REGISTRY_TOKEN --build-commit $(git rev-parse ${DEPLOY_BRANCH:-build})", "cozyPublish": "cozy-app-publish --token $REGISTRY_TOKEN --build-commit $(git rev-parse ${DEPLOY_BRANCH:-build})",
"travisDeployKey": "./bin/generate_travis_deploy_key" "travisDeployKey": "./bin/generate_travis_deploy_key"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment