ci: automate GitHub to GitLab mirror
Mirror to GitLab / mirror (push) Waiting to run

This commit is contained in:
Antigravity Agent
2026-05-25 05:15:11 +00:00
parent 3d66e2b996
commit 0905d48bdf
+22
View File
@@ -0,0 +1,22 @@
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