mirror of
https://github.com/Snigdha-OS/snigdhaos-arctic.git
synced 2025-12-06 08:33:51 +01:00
20 lines
415 B
YAML
20 lines
415 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 push gitlab master |