mirror of
https://github.com/undeaDD/FakeWebKit.git
synced 2026-03-11 10:50:21 +01:00
25 lines
557 B
YAML
25 lines
557 B
YAML
name: Mirror to Gitea
|
|
|
|
on:
|
|
push:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
mirror:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Mirror to Gitea
|
|
env:
|
|
GITEA_URL: ${{ secrets.GITEA_URL }}
|
|
GITEA_USERNAME: ${{ secrets.GITEA_USERNAME }}
|
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
|
run: |
|
|
git remote add gitea https://${GITEA_USERNAME}:${GITEA_TOKEN}@${GITEA_URL}
|
|
git push --quiet --mirror gitea
|