From 65142cbc8d1c0245d768bbf8df1ffdebcc0eba52 Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" <148610067+eshanized@users.noreply.github.com> Date: Tue, 18 Jun 2024 04:24:13 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(na):=20na?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gitlab.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/gitlab.yml b/.github/workflows/gitlab.yml index 24a9586..e235573 100644 --- a/.github/workflows/gitlab.yml +++ b/.github/workflows/gitlab.yml @@ -14,9 +14,8 @@ jobs: - name: Push to GitLab env: GITLAB_REPO: ${{ secrets.GITLAB_REPO }} - GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }} + GITLAB_USERNAME: ${{ secrets.GITLAB_USERNAME }} + GITLAB_PASSWORD: ${{ secrets.GITLAB_PASSWORD }} run: | - git remote add gitlab https://gitlab.com/snigdhaos/snigdhaos-arctic.git - git config user.name "GitHub Actions" - git config user.email "actions@github.com" - git push gitlab master + git remote add gitlab https://${GITLAB_USERNAME}:${GITLAB_PASSWORD}@${GITLAB_REPO##*/}.git + git push gitlab master \ No newline at end of file