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

Update: enhance GitLab CI script to clone wiki repository and copy Markdown...

Update: enhance GitLab CI script to clone wiki repository and copy Markdown files with additional logging
parent f2caebfb
No related branches found
No related tags found
1 merge request!4Draft: Review Branch with all changes from main against empty
Pipeline #53375 failed
......@@ -79,9 +79,14 @@ deploy_to_wiki:
- git config --global user.name "FAZELI SHAHROUDI Sepehr (INTERN)"
- git config --global user.email "Sepehr.FAZELISHAHROUDI.intern@3ds.com"
script:
- echo "Cloning the wiki repository"
- 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
- echo "Current directory: $(pwd)"
- echo "Listing files in wiki directory"
- ls -la
- git add .
- git commit -m "Update Wiki with Thesis - $(date)"
- git push
......
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