Files
snigdhaos-arctic/.github/workflows/gitlab.yml
Eshan Roy (Eshanized) 067801ff76 🧪 test(mirror): gitlab
2024-06-18 04:09:44 +05:30

22 lines
526 B
YAML

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 config user.name "GitHub Actions"
git config user.email "actions@github.com"
git push gitlab master fix