Skip to content

chore: auto deploy GitHub & Gitee Pages #38

chore: auto deploy GitHub & Gitee Pages

chore: auto deploy GitHub & Gitee Pages #38

Workflow file for this run

name: Sync
on:
push:
branches: [main]
jobs:
build:
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: [email protected]:doocs/doocs.github.io.git
destination-repo: [email protected]:Doocs/doocs.git
- name: Build Gitee Pages
uses: yanglbme/gitee-pages-action@main
with:
gitee-username: yanglbme
gitee-password: ${{ secrets.GITEE_PASSWORD }}
gitee-repo: doocs/doocs
branch: main