Skip to content

Commit

Permalink
feat: sync zhi-blog-astro
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Apr 10, 2023
1 parent a20061b commit 6bacab1
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/git-sync-zhi-blog-astro.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: sync zhi-blog-astro

on:
push:
branches:
- main

jobs:
git-sync:
runs-on: ubuntu-latest
steps:
- name: git-sync
uses: wei/git-sync@v3
with:
source_repo: "terwer/zgi"
source_branch: "main"
destination_repo: "terwer/zhi-blog-astro"
destination_branch: "main"
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }} # optional
source_ssh_private_key: ${{ secrets.SOURCE_SSH_PRIVATE_KEY }} # optional, will override `SSH_PRIVATE_KEY`
destination_ssh_private_key: ${{ secrets.DESTINATION_SSH_PRIVATE_KEY }} # optional, will override `SSH_PRIVATE_KEY`

0 comments on commit 6bacab1

Please sign in to comment.