Commit 4e87c200 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Configuring publishing from CI.

Showing with 21 additions and 0 deletions
+21 -0
stages:
- deploy
before_script:
- npm install
publish:
stage: deploy
tags: [docker]
image: node:lts-alpine
only:
- master
- tags
script:
- npm run ci-publish || true
...@@ -10,6 +10,12 @@ ...@@ -10,6 +10,12 @@
"author": "Pôle IS Irstea <dsi.poleis@lists.irstea.fr>", "author": "Pôle IS Irstea <dsi.poleis@lists.irstea.fr>",
"license": "MIT", "license": "MIT",
"main": "tslint.json", "main": "tslint.json",
"scripts": {
"ci-publish": "ci-publish"
},
"devDependencies": {
"ci-publish": "^1.3.1"
},
"peerDependencies": { "peerDependencies": {
"prettier": "^1.15.0", "prettier": "^1.15.0",
"prettier-tslint": "^0.4.2", "prettier-tslint": "^0.4.2",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment