Resolve "Fix CI using expired Gitlab token"
This commit is contained in:
+4
-2
@@ -97,8 +97,10 @@ publish:development:
|
|||||||
- git config --global user.email "${GITLAB_USER_EMAIL}"
|
- git config --global user.email "${GITLAB_USER_EMAIL}"
|
||||||
- git config --global user.name "${GITLAB_USER_NAME}"
|
- git config --global user.name "${GITLAB_USER_NAME}"
|
||||||
|
|
||||||
# Configure git to push with CI token
|
# Configure git to push with CI token.
|
||||||
- git remote set-url origin "https://gitlab-ci-token:$GL_TOKEN@$CI_SERVER_HOST/$CI_PROJECT_PATH.git"
|
# CI_REPOSITORY_URL uses the CI_JOB_TOKEN to form the repository URL, in the format "https://gitlab-ci-token:$CI_JOB_TOKEN@gitlab.example.com/my-group/my-project.git"
|
||||||
|
# The CI_JOB_TOKEN is short lived and only valid for the duration of the CI/CD job.
|
||||||
|
- git remote set-url origin "${CI_REPOSITORY_URL}"
|
||||||
|
|
||||||
# Ensure full Git history so Lerna can detect changes
|
# Ensure full Git history so Lerna can detect changes
|
||||||
- git fetch --unshallow
|
- git fetch --unshallow
|
||||||
|
|||||||
Generated
+3
-3
@@ -12955,9 +12955,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/preact": {
|
"node_modules/preact": {
|
||||||
"version": "10.27.2",
|
"version": "10.28.2",
|
||||||
"resolved": "https://registry.npmjs.org/preact/-/preact-10.27.2.tgz",
|
"resolved": "https://registry.npmjs.org/preact/-/preact-10.28.2.tgz",
|
||||||
"integrity": "sha512-5SYSgFKSyhCbk6SrXyMpqjb5+MQBgfvEKE/OC+PujcY34sOpqtr+0AZQtPYx5IA6VxynQ7rUPCtKzyovpj9Bpg==",
|
"integrity": "sha512-lbteaWGzGHdlIuiJ0l2Jq454m6kcpI1zNje6d8MlGAFlYvP2GO4ibnat7P74Esfz4sPTdM6UxtTwh/d3pwM9JA==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"funding": {
|
"funding": {
|
||||||
|
|||||||
Reference in New Issue
Block a user