commit d88a88444c85d231a5c1ff3a27cd63af454eaa39 Author: asepharyana Date: Sat Aug 1 16:45:11 2026 +0700 ci: GitHub primary — mirror ke Gitea backup (initial commit) diff --git a/.github/workflows/mirror-gitea.yml b/.github/workflows/mirror-gitea.yml new file mode 100644 index 0000000..ee083d0 --- /dev/null +++ b/.github/workflows/mirror-gitea.yml @@ -0,0 +1,26 @@ +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/Discord-video-stream.git" + git push --mirror gitea + echo "✅ Mirrored to Gitea (MythEclipse/Discord-video-stream)"