Skip to content

Updated workflows

Updated workflows #4

name: Mirror to GitLab
on:
workflow_dispatch: # Workflow dispatch allows manual triggering of the workflow
push:
branches:
- "**"
pull_request:
branches:
- "**"
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Push to GitLab
run: |
git remote add gitlab https://oauth2:${{ secrets.GITLAB_TOKEN }}@gitlab.com/${{ secrets.GITLAB_REPO }}
git push --mirror gitlab