diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f2e8191..72d25cc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,6 +3,8 @@ image: hosttoday/ht-docker-node:npmts stages: - test - release +- trigger +- pages testLEGACY: stage: test @@ -28,10 +30,30 @@ testSTABLE: release: stage: release - environment: npm_registry script: - npmci publish only: - tags tags: - - docker \ No newline at end of file + - docker + +trigger: + stage: trigger + script: + - npmci trigger + only: + - tags + tags: + - docker + +pages: + image: hosttoday/ht-docker-node:npmpage + stage: pages + script: + - npmci command npmpage --publish gitlab + only: + - tags + artifacts: + expire_in: 1 week + paths: + - public