Files
Antigravity Agent 0905d48bdf
Mirror to GitLab / mirror (push) Waiting to run
ci: automate GitHub to GitLab mirror
2026-05-25 05:15:11 +00:00

23 lines
470 B
YAML

name: Mirror to GitLab
on:
push:
branches:
- main
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Mirror to GitLab
env:
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
run: |
git remote add gitlab https://oauth2:${GITLAB_TOKEN}@gitlab.com/mrhavens/fieldprint.git
git push --mirror gitlab