Skip to content
Snippets Groups Projects
Commit bb08cefa authored by FAZELI SHAHROUDI Sepehr (INTERN)'s avatar FAZELI SHAHROUDI Sepehr (INTERN)
Browse files

Update: parameterize GitLab CI user configuration for cloning wiki repository

parent 814b3a3f
No related branches found
No related tags found
1 merge request!4Draft: Review Branch with all changes from main against empty
Pipeline #53376 failed
......@@ -76,11 +76,11 @@ deploy_to_wiki:
variables:
GIT_STRATEGY: none
before_script:
- git config --global user.name "FAZELI SHAHROUDI Sepehr (INTERN)"
- git config --global user.email "Sepehr.FAZELISHAHROUDI.intern@3ds.com"
- git config --global user.name "$GITLAB_USER"
- git config --global user.email "$GITLAB_EMAIL"
script:
- echo "Cloning the wiki repository"
- git clone https://${GITLAB_USER}:${GITLAB_TOKEN}@mygit.th-deg.de/${CI_PROJECT_PATH}.wiki.git wiki
- git clone https://$GITLAB_USER:$GITLAB_TOKEN@mygit.th-deg.de/${CI_PROJECT_PATH}.wiki.git wiki
- echo "Copying Markdown files to wiki"
- cp -r output_md/* wiki/
- cd wiki
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment