From c00196a27d38513cdcfabd39aa5528cc44497588 Mon Sep 17 00:00:00 2001 From: "Eshan Roy (Eshanized)" <148610067+eshanized@users.noreply.github.com> Date: Tue, 18 Jun 2024 04:03:52 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=AA=20test(ci):=20push=20to=20gitlab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/gitlab.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/gitlab.yml diff --git a/.github/workflows/gitlab.yml b/.github/workflows/gitlab.yml new file mode 100644 index 0000000..6087a75 --- /dev/null +++ b/.github/workflows/gitlab.yml @@ -0,0 +1,20 @@ +name: Push to GitLab + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2.3.3 + - name: Push to GitLab + env: + GITLAB_REPO: ${{ secrets.GITLAB_REPO }} + GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }} + run: | + git remote add gitlab $GITLAB_REPO + git push gitlab main \ No newline at end of file