docs: add Practical API Design: Confessions of a Java Framework Archi… #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: github.repository == 'doocs/technical-books' | |
steps: | |
- uses: actions/checkout@v3 | |
- 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/technical-books.git | |
destination-repo: [email protected]:Doocs/technical-books.git | |
- name: Build Gitee Pages | |
uses: yanglbme/gitee-pages-action@main | |
with: | |
gitee-username: yanglbme | |
gitee-password: ${{ secrets.GITEE_PASSWORD }} | |
gitee-repo: doocs/technical-books | |
branch: main |