We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b09174 commit 4a719bbCopy full SHA for 4a719bb
1 file changed
.github/workflows/mirror-to-gitlab.yml
@@ -21,8 +21,9 @@ jobs:
21
- name: Push to GitLab mirror
22
env:
23
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
24
+ GITLAB_USERNAME: ${{ secrets.GITLAB_USERNAME }}
25
run: |
- git remote add gitlab "https://oauth2:${GITLAB_TOKEN}@gitlab.com/shivaCode-2/labview-for-containers.git" || true
26
- git remote set-url gitlab "https://oauth2:${GITLAB_TOKEN}@gitlab.com/shivaCode-2/labview-for-containers.git"
+ git remote add gitlab "https://${GITLAB_USERNAME}:${GITLAB_TOKEN}@gitlab.com/shivaCode-2/labview-for-containers.git" || true
27
+ git remote set-url gitlab "https://${GITLAB_USERNAME}:${GITLAB_TOKEN}@gitlab.com/shivaCode-2/labview-for-containers.git"
28
git push gitlab main --force
29
git push gitlab --tags --force
0 commit comments