Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marius-wieschollek/passwords-webextension.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius David Wieschollek <passwords.public@mdns.eu>2020-01-10 01:17:29 +0300
committerMarius David Wieschollek <passwords.public@mdns.eu>2020-01-10 01:17:29 +0300
commit4226d18158472a5c1c18b0345b12c13ede2ecee7 (patch)
tree044c10d8262cc554987618c99289329a9a748e82 /.gitlab-ci.yml
parentec1125c98dc50e55e809dfb1e73fce44e066aa30 (diff)
Remove extra steps in deployment
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml37
1 files changed, 15 insertions, 22 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index feee21c..ec7415d 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,38 +1,31 @@
stages:
-- prepare
-- compiling
-- publishing
-
-Install:
- stage: prepare
- script:
- - mkdir dist
- artifacts:
- paths:
- - ./dist
+ - compiling
+ - publishing
Compile Firefox:
stage: compiling
script:
- - npm install
- - npm run build:firefox
- - sed -i -e "s/BUILD/${CI_PIPELINE_ID}/g" ./build/manifest.json
- - if [ "${CI_COMMIT_REF_NAME}" != "stable" ] ; then sed -i -e "s/ncpasswords@mdns.eu/ncpasswordsdev@mdns.eu/g" ./build/manifest.json ; fi
- - mv build dist/firefox-extension
+ - mkdir dist
+ - npm install
+ - npm run build:firefox
+ - sed -i -e "s/BUILD/${CI_PIPELINE_ID}/g" ./build/manifest.json
+ - if [ "${CI_COMMIT_REF_NAME}" != "stable" ] ; then sed -i -e "s/ncpasswords@mdns.eu/ncpasswordsdev@mdns.eu/g" ./build/manifest.json ; fi
+ - mv build dist/firefox-extension
artifacts:
paths:
- - ./dist/firefox-extension
+ - ./dist/firefox-extension
Compile Chrome:
stage: compiling
script:
- - npm install
- - npm run build:chrome
- - sed -i -e "s/99999/${CI_PIPELINE_ID}/g" ./build/manifest.json
- - mv build dist/chrome-extension
+ - mkdir dist
+ - npm install
+ - npm run build:chrome
+ - sed -i -e "s/99999/${CI_PIPELINE_ID}/g" ./build/manifest.json
+ - mv build dist/chrome-extension
artifacts:
paths:
- - ./dist/chrome-extension
+ - ./dist/chrome-extension
Publish Stable Firefox:
stage: publishing