forked from jellyfin/jellyfin-tizen
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
545d36f
commit 074f73f
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Sync Wiki | ||
|
||
on: | ||
push: | ||
branches: | ||
- wiki/master | ||
workflow_dispatch: | ||
|
||
jobs: | ||
wiki-sync: | ||
name: Sync Wiki | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
ref: wiki/master | ||
fetch-depth: 100 | ||
|
||
- name: Add Wiki remote | ||
run: | | ||
git remote add wikirepo ${{ github.server_url }}/${{ github.repository }}.wiki.git | ||
git fetch wikirepo | ||
- name: 'Push Wiki branch to Wiki repo' | ||
run: | | ||
git push wikirepo wiki/master:master |