hugo-theme-next/.github/workflows/sync-2-gitee.yml

17 lines
425 B
YAML

name: sync-2-gitee
on:
push:
branches: [main]
jobs:
sync-2-gitee:
runs-on: ubuntu-latest
steps:
- name: Sync to Gitee
uses: wearerequired/git-mirror-action@master
env:
SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }}
with:
source-repo: git@github.com:hugo-next/hugo-theme-next.git
destination-repo: git@gitee.com:hugo-next/hugo-theme-next.git