ipban/.forgejo/workflows/clone_to_github.yaml
Artyom Titov 2920926400
All checks were successful
Auto clone to GitHub / mirror (push) Successful in 10s
Fix typo in repo link
2026-10-15 20:42:27 +03:00

25 lines
495 B
YAML

name: Auto clone to GitHub
on:
push:
branches:
- main
- penguinee
jobs:
mirror:
runs-on: ci
steps:
- name: Checkout repo
uses: https://data.forgejo.org/actions/checkout@v6
with:
fetch-depth: 0
- name: Push to GitHub
env:
GH_TOKEN: ${{ secrets.MIRROR_TOKEN }}
run: |
git remote add gh \
"https://x-access-token:${GH_TOKEN}@github.com/T1tukll/ipban.git"
git push gh main