Skip to content

Commit

Permalink
Update workflow to copy README to Wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianPrieber committed Sep 24, 2024
1 parent 67d2927 commit dfa7b3a
Showing 1 changed file with 24 additions and 21 deletions.
45 changes: 24 additions & 21 deletions .github/workflows/copy-readme-to-wiki.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
name: Wiki Sync

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"

push:
branches:
- main
pull_request:
branches:
- main
name: Wiki Sync
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: JoeIzzard/ghaction-wiki-sync@v1
with:
username: LinkStackOrg
access_token: "{{ secrets.GH_TOKEN }}"
wiki_folder: "docs"
commit_message: "Update Wiki"
commit_username: "JulianPrieber"
commit_email: "[email protected]"
update-wiki:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Copy README to Wiki
run: |
mkdir -p wiki
cp README.md wiki/
- name: Sync Wiki
uses: joeizzard/action-wiki-sync@main
with:
username: example
access_token: ${{ secrets.GH_TOKEN }}
wiki_folder: wiki
commit_username: 'Julian Prieber'
commit_email: '[email protected]'
commit_message: 'action: wiki sync'

0 comments on commit dfa7b3a

Please sign in to comment.