All checks were successful
Mirror to GitHub / mirror (push) Successful in 3s
19 lines
500 B
YAML
19 lines
500 B
YAML
name: Mirror to GitHub
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '**'
|
|
|
|
jobs:
|
|
mirror:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Push to GitHub
|
|
run: |
|
|
cd /tmp
|
|
git clone --mirror https://gitea.resolutionflow.com/chihlasm/resolutionflow.git repo
|
|
cd repo
|
|
git remote add github https://x-access-token:${{ secrets.GH_MIRROR_TOKEN }}@github.com/${{ secrets.GH_MIRROR_REPO }}
|
|
git push github --all --force
|
|
git push github --tags --force |