ci: add mirror push to forgejo

This commit is contained in:
drendog 2026-01-24 03:33:41 +01:00
parent 6e58b94efd
commit a22a74ebb4
Signed by: dwenya
GPG key ID: 8DD77074645332D0

View file

@ -0,0 +1,21 @@
name: Push Github -> Forgejo
on:
push:
branches:
- "**"
workflow_dispatch:
jobs:
push-to-forgejo:
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: "Sync repo"
uses: spyoungtech/mirror-action@master
with:
REMOTE: "https://codeberg.org/waydeer/layer-shika"
GIT_USERNAME: drendog
GIT_PASSWORD: ${{ secrets.FORGEJO_TOKEN }}