Skip to content

Commit

Permalink
ci: use the proper variable for URL
Browse files Browse the repository at this point in the history
  • Loading branch information
seppzer0 committed Dec 1, 2023
1 parent c0ffa46 commit d5df055
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ job-tag:
- git config --global user.name "${USERNAME}"
- git config --global user.email "${EMAIL}"
- git remote remove origin
- git remote add origin https://${USERNAME}:${PASSWORD}@gitlab.com/${USERNAME}/${CI_PROJECT_PATH_SLUG}
- git remote add origin https://${USERNAME}:${PASSWORD}@gitlab.com/${CI_PROJECT_PATH}
- if [ $(git tag | grep "$TAGNAME") ]; then echo "[ * ] Tag already exists, skipping.."; else git tag $TAGNAME && git push origin $TAGNAME; fi
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
Expand Down

0 comments on commit d5df055

Please sign in to comment.