From 0a8a1587986c6e077b330b0fc1daff5e7068f320 Mon Sep 17 00:00:00 2001 From: Bartek Wrona <wrona@syncad.com> Date: Wed, 26 Jun 2024 21:57:24 +0200 Subject: [PATCH] npm_push_doc_template allows to specify different project url (to store documentation in separate Wiki repo) --- templates/npm_projects.gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/npm_projects.gitlab-ci.yml b/templates/npm_projects.gitlab-ci.yml index 8ad8778..42845c5 100644 --- a/templates/npm_projects.gitlab-ci.yml +++ b/templates/npm_projects.gitlab-ci.yml @@ -161,12 +161,12 @@ variables: # The directory containing sources to be built - it can be overrided by derived job SOURCE_DIR: "${CI_PROJECT_DIR}" - + PROJECT_URL: "${CI_PROJECT_URL}" # Output directory where should be stored `docs' subdirectory containing generated documentation files DIST_DIR: "$CI_PROJECT_DIR/dist" script: - - /home/emscripten/scripts/npm_push_doc.sh "${SOURCE_DIR}" "${CI_PROJECT_URL}" "${WIKI_PUSH_TOKEN}" "${DIST_DIR}" "${CI_COMMIT_REF_NAME}" "${CI_COMMIT_REF_PROTECTED}" + - /home/emscripten/scripts/npm_push_doc.sh "${SOURCE_DIR}" "${PROJECT_URL}" "${WIKI_PUSH_TOKEN}" "${DIST_DIR}" "${CI_COMMIT_REF_NAME}" "${CI_COMMIT_REF_PROTECTED}" artifacts: reports: -- GitLab