mirror of
https://github.com/jellyfin/jellyfin-tizen.git
synced 2024-11-23 05:49:52 +00:00
Merge pull request #250 from dmitrylyzo/gha-wiki-sync
Add Wiki sync workflow
This commit is contained in:
commit
45473aa2ba
28
.github/workflows/wiki-sync.yml
vendored
Normal file
28
.github/workflows/wiki-sync.yml
vendored
Normal file
@ -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/checkout@v4.1.1
|
||||
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 --depth=100 wikirepo
|
||||
|
||||
- name: Push Wiki branch to Wiki repo
|
||||
run: |
|
||||
git push wikirepo wiki/master:master
|
Loading…
Reference in New Issue
Block a user