diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2e2e725e0256c67c0eb0ba2f123f7023926acb1e..e03917be92623b5ec32d0237d46113c340a77cd9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,7 +24,7 @@ build-dev: script: - yarn - 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.password "$GIT_PWD" - git config user.email "$GIT_USER" @@ -41,7 +41,7 @@ build: script: - yarn - 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.password "$GIT_PWD" - git config user.email "$GIT_USER" diff --git a/manifest.konnector b/manifest.konnector index 29b0c77bead9cd9dd2974da94c17a0ea97df0a0a..a0e89626c1f2157235c1def3e9059ef318aca42a 100644 --- a/manifest.konnector +++ b/manifest.konnector @@ -37,6 +37,9 @@ "accounts": { "type": "io.cozy.accounts", "verbs": ["GET"] + }, + "files": { + "type": "io.cozy.files" }, "enedis data": { "type": "com.grandlyon.enedis.*" diff --git a/package.json b/package.json index 6d450b8b84ecf2a12a20b1d39067a7a17fc2b65f..f26d68d6e40c4a680934a1fa185fe21e4c099ba3 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "clean": "rm -rf ./data", "build": "webpack", "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}", "cozyPublish": "cozy-app-publish --token $REGISTRY_TOKEN --build-commit $(git rev-parse ${DEPLOY_BRANCH:-build})", "travisDeployKey": "./bin/generate_travis_deploy_key"