Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jean-Baptiste Delisle
samsam
Commits
601e45fb
Commit
601e45fb
authored
Mar 30, 2021
by
Jean-Baptiste Delisle
Browse files
set project id in gitlab-ci
parent
fe82be9e
Pipeline
#24921
passed with stages
in 7 minutes and 57 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
601e45fb
...
...
@@ -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/*
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment