mirror of
https://codeberg.org/waydeer/layer-shika.git
synced 2026-02-03 07:15:54 +00:00
ci: add mirror push to forgejo
This commit is contained in:
parent
6e58b94efd
commit
a22a74ebb4
1 changed files with 21 additions and 0 deletions
21
.github/workflows/mirror-push-to-forgejo.yml
vendored
Normal file
21
.github/workflows/mirror-push-to-forgejo.yml
vendored
Normal 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 }}
|
||||||
Loading…
Add table
Reference in a new issue