Skip to content

Commit

Permalink
chore(zhi-root): fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed May 7, 2023
1 parent d6047d9 commit 43181ab
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
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/zhi"
source_branch: "main"
destination_repo: "terwer/zhi-blog-astro"
destination_branch: "dist"
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`
2 changes: 1 addition & 1 deletion .github/workflows/git-sync-zhi-blog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: sync zhi-blog
name: sync zhi blog

on:
push:
Expand Down

0 comments on commit 43181ab

Please sign in to comment.