Commit 601e45fb authored by Jean-Baptiste Delisle's avatar Jean-Baptiste Delisle
Browse files

set project id in gitlab-ci

parent fe82be9e
Pipeline #24921 passed with stages
in 7 minutes and 57 seconds
...@@ -77,7 +77,7 @@ Release and deploy on Production: ...@@ -77,7 +77,7 @@ Release and deploy on Production:
- git push origin "$TAG_VERSION" --quiet - git push origin "$TAG_VERSION" --quiet
- CHANGES=`cat CHANGES.txt` - CHANGES=`cat CHANGES.txt`
# Add release on gitlab (via gitlab API) # 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 # Deploy on production
- cp dist/*.tar.gz /www/people/delisle/public/samsam - cp dist/*.tar.gz /www/people/delisle/public/samsam
- rm -rf /www/people/delisle/public/samsam/doc/* - rm -rf /www/people/delisle/public/samsam/doc/*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment