# Allows to store generated documentation files inside a wiki repo specific to given project. Wiki repo must be explicitly created before using this job.
# Documentation files coming to protected branches are committed into root directory in the wiki repo. All other changes are pushed into non-stable/<branch-name> subdirectory what allows to render them by wiki.
.npm_push_doc_template:
extends:.npm_based_job_base
variables:
# Must be overrided by derived job
WIKI_PUSH_TOKEN:""
# The directory containing sources to be built - it can be overrided by derived job
SOURCE_DIR:"${CI_PROJECT_DIR}"
# Output directory where should be stored `docs' subdirectory containing generated documentation files