Files
zeavis-edu/.github/workflows/mirror-gitea.yml
T
asepharyana 4c79a1f09d
Build & Deploy (Nix) / build-and-deploy (api) (push) Canceled after 0s
Build & Deploy (Nix) / build-and-deploy (ml-service) (push) Canceled after 0s
Build & Deploy (Nix) / build-and-deploy (web) (push) Canceled after 0s
Mirror to Gitea / mirror (push) Canceled after 0s
ci: migrate CI to GitHub Actions (deploy nix + mirror ke Gitea backup)
2026-08-01 16:42:37 +07:00

27 lines
581 B
YAML

name: Mirror to Gitea
on:
push:
branches: [main, master]
workflow_dispatch:
permissions:
contents: write
jobs:
mirror:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Mirror to Gitea
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: |
git remote add gitea "https://oauth2:${GITEA_TOKEN}@git.imrnes.team/MythEclipse/zeavis-edu.git"
git push --mirror gitea
echo "✅ Mirrored to Gitea (MythEclipse/zeavis-edu)"