We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1a8a66 commit d19a935Copy full SHA for d19a935
1 file changed
.github/workflows/syncmirror.yml
@@ -17,6 +17,8 @@ jobs:
17
submodules: 'true'
18
fetch-depth: 0
19
- name: Add mirror auth info
20
- run: git remote add alternate https://AptiviCEO:${{ secrets.GL_APIKEY }}@gitlab.com/aptivi/analytics/${{ github.repository }}.git
+ run: |
21
+ echo REPO_NAME=$(echo "${{ github.repository }}" | cut -d "/" -f 2) >> $GITHUB_ENV
22
+ git remote add alternate https://AptiviCEO:${{ secrets.GL_APIKEY }}@gitlab.com/aptivi/analytics/${{ env.REPO_NAME }}.git
23
- name: Push to mirror
24
run: git push alternate
0 commit comments