Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
doi-landing-page
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
ICAT
doi-landing-page
Commits
93238add
Commit
93238add
authored
3 months ago
by
Simon Delcamp
Browse files
Options
Downloads
Patches
Plain Diff
Add a rule to run if a tag is created manually
parent
d9f2a2af
No related branches found
No related tags found
1 merge request
!129
Resolve "Add publish in CI"
Pipeline
#209986
passed
3 months ago
Stage: validate
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab/publish.yml
+2
-0
2 additions, 0 deletions
.gitlab/publish.yml
with
2 additions
and
0 deletions
.gitlab/publish.yml
+
2
−
0
View file @
93238add
...
...
@@ -13,6 +13,8 @@ build_lib:
publish_lib
:
extends
:
.pnpm
stage
:
publish
rules
:
-
!reference
[
.only_tags_manual
]
script
:
-
pnpm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN}
-
pnpm publish --access public
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment