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 48127a9 commit 93e2ccdCopy full SHA for 93e2ccd
.github/workflows/push-gitlab.yml
@@ -5,10 +5,6 @@ on:
5
push:
6
branches: [ "main" ]
7
8
-env:
9
- USERNAME: alexcoder04
10
- GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
11
-
12
jobs:
13
14
if: github.repository == 'alexcoder04/kherson'
@@ -19,7 +15,7 @@ jobs:
19
15
20
16
- name: Push
21
17
run: |
22
- git config user.name "${USERNAME}"
23
- git config user.email "${USERNAME}@protonmail.com"
24
- git remote add gitlab "https://oauth2:${GITLAB_TOKEN}@gitlab.com/${USERNAME}/kherson.git"
18
+ git config user.name "${{ github.repository_owner }}"
+ git config user.email "${{ github.repository_owner }}@protonmail.com"
+ git remote add gitlab "https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.com/${{ github.repository }}.git"
25
git push gitlab main
0 commit comments