Skip to content
Snippets Groups Projects
Commit 2f098449 authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Use build-lib instead of build-surge

parent 86bed461
No related branches found
No related tags found
1 merge request!44Publish on npm using CI pipeline
Pipeline #5759 failed
...@@ -42,7 +42,7 @@ build-webext: ...@@ -42,7 +42,7 @@ build-webext:
script: script:
- npm run build-ext - npm run build-ext
build-surge: build-lib:
stage: build stage: build
# Ignore frontend-audit to speed up CI builds # Ignore frontend-audit to speed up CI builds
...@@ -73,6 +73,9 @@ build-surge: ...@@ -73,6 +73,9 @@ build-surge:
deploy-surge: deploy-surge:
extends: .surge extends: .surge
dependencies:
- build-lib
# Only deploy branches on surge # Only deploy branches on surge
rules: rules:
- if: '$CI_COMMIT_BRANCH && $CI_COMMIT_BRANCH != "master"' - if: '$CI_COMMIT_BRANCH && $CI_COMMIT_BRANCH != "master"'
...@@ -109,6 +112,9 @@ stop-surge: ...@@ -109,6 +112,9 @@ stop-surge:
release-private: release-private:
stage: release stage: release
dependencies:
- build-lib
# Publish only on tags # Publish only on tags
only: only:
- tags - tags
......
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