Skip to content

Commit

Permalink
fix wiki sync
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylyzo committed May 4, 2024
1 parent bec78b3 commit b9e8677
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/sync-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Sync Wiki
on:
push:
branches: [ wiki/master ]
workflow_dispatch:

jobs:
wiki-sync:
Expand All @@ -12,12 +13,14 @@ jobs:
steps:
- name: Checkout
uses: actions/[email protected]
with:
ref: wiki/master

- name: Add Wiki remote
run: |
git remote add wiki ${{ github.server_url }}/${{ github.repository }}.wiki.git
git fetch wiki
git remote add wikirepo ${{ github.server_url }}/${{ github.repository }}.wiki.git
git fetch wikirepo
- name: 'Push Wiki branch to Wiki repo'
run: |
git push wiki wiki/master:master
git push wikirepo wiki/master:master

0 comments on commit b9e8677

Please sign in to comment.