Skip to content
Snippets Groups Projects
Commit 601e45fb authored by Jean-Baptiste Delisle's avatar Jean-Baptiste Delisle
Browse files

set project id in gitlab-ci

parent fe82be9e
No related branches found
No related tags found
No related merge requests found
Pipeline #24921 passed
......@@ -77,7 +77,7 @@ Release and deploy on Production:
- git push origin "$TAG_VERSION" --quiet
- CHANGES=`cat CHANGES.txt`
# Add release on gitlab (via gitlab API)
- curl -X POST -H "PRIVATE-TOKEN:$RELEASE_TOKEN" -F "name=Release samsam $TAG_VERSION" -F "tag_name=$TAG_VERSION" -F "ref=$TAG_VERSION" -F "description=Changes:$CHANGES" 'https://gitlab.unige.ch/api/v4/projects/1383/releases'
- curl -X POST -H "PRIVATE-TOKEN:$RELEASE_TOKEN" -F "name=Release samsam $TAG_VERSION" -F "tag_name=$TAG_VERSION" -F "ref=$TAG_VERSION" -F "description=Changes:$CHANGES" 'https://gitlab.unige.ch/api/v4/projects/4476/releases'
# Deploy on production
- cp dist/*.tar.gz /www/people/delisle/public/samsam
- rm -rf /www/people/delisle/public/samsam/doc/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment