Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Common CI Configuration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
Common CI Configuration
Merge requests
!74
Update pnpm workspace-related common configuration files
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update pnpm workspace-related common configuration files
tm-update-pnpm-workspace
into
develop
Overview
0
Commits
4
Pipelines
20
Changes
3
Merged
Mateusz Tyszczak
requested to merge
tm-update-pnpm-workspace
into
develop
2 months ago
Overview
0
Commits
4
Pipelines
20
Changes
3
Expand
0
0
Merge request reports
Viewing commit
6e560989
Prev
Next
Show latest version
3 files
+
48
−
19
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
Unverified
6e560989
Move supplement doc url to build job base
· 6e560989
Mateusz Tyszczak
authored
2 months ago
scripts/bash/npm-helpers/npm_push_doc.sh
+
2
−
9
Options
@@ -46,6 +46,7 @@ PROJECT_ACCESS_TOKEN="${3:?Missing arg #3 pointing a Gitlab repository access to
DIST_DIR
=
"
${
4
:?Missing
arg #4 pointing the dist directory
}
"
FEATURE_BRANCH_NAME
=
"
${
5
:?Missing
arg #5 pointing a branch name
}
"
FINAL_MERGE
=
"
${
6
:?Missing
arg #6 pointing the final merge flag value
}
"
DOC_URL
=
"
${
7
:?Missing
arg #7 pointing the documentation URL
}
"
if
[
"
${
FINAL_MERGE
}
"
=
"true"
]
;
then
FINAL_MERGE
=
1
@@ -111,16 +112,8 @@ else
git push origin
"HEAD:main"
fi
if
[
${
FINAL_MERGE
}
-eq
1
]
;
then
DOC_URL
=
"
${
PROJECT_URL
}
/-/wikis/home"
else
DOC_URL
=
"
${
PROJECT_URL
}
/-/wikis/non-stable/
${
FEATURE_BRANCH_NAME
}
/home"
fi
perform_wiki_cleanup
"
${
WIKI_REPO_DIR
}
/non-stable"
"
${
PROJECT_URL
}
"
echo
"Documentation
is available at
url:
${
DOC_URL
}
"
echo
"Documentation url:
${
DOC_URL
}
"
popd
echo
GEN_DOC_URL
=
"
${
DOC_URL
}
"
>
"gen_doc.env"
Loading