Skip to content

Commit

Permalink
[test] Add Wiki sync workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylyzo committed May 4, 2024
1 parent d2d904d commit bec78b3
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/sync-wiki.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Sync Wiki

on:
push:
branches: [ wiki/master ]

jobs:
wiki-sync:
name: Sync Wiki
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/[email protected]

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

0 comments on commit bec78b3

Please sign in to comment.