🧪 test(ci): push to gitlab

This commit is contained in:
Eshan Roy (Eshanized)
2024-06-18 04:03:52 +05:30
parent a700487b12
commit c00196a27d

20
.github/workflows/gitlab.yml vendored Normal file
View File

@@ -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