-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
45e013b
commit 9834ad8
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,10 +22,10 @@ jobs: | |
git config --global user.name 'github-actions' | ||
git config --global user.email '[email protected]' | ||
- name: Push to GitLab | ||
- name: Add GitLab remote and push | ||
env: | ||
GITLAB_URL: ${{ secrets.GITLAB_URL }} | ||
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }} | ||
run: | | ||
git remote add gitlab $GITLAB_URL | ||
git push gitlab main | ||
git remote add gitlab https://oauth2:$GITLAB_TOKEN@$GITLAB_URL | ||
git push -u gitlab main |