mirror of
https://github.com/acamarata/luxon-hijri.git
synced 2026-07-02 19:50:41 +00:00
chore: align repository structure with portfolio documentation standards
This commit is contained in:
parent
fb3f599a4e
commit
54af913f0b
5 changed files with 4 additions and 4 deletions
0
.wiki/Home.md → .github/wiki/Home.md
vendored
0
.wiki/Home.md → .github/wiki/Home.md
vendored
8
.github/workflows/wiki-sync.yml
vendored
8
.github/workflows/wiki-sync.yml
vendored
|
|
@ -4,14 +4,14 @@ on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
paths:
|
paths:
|
||||||
- '.wiki/**'
|
- '.github/wiki/**'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync:
|
sync:
|
||||||
name: Sync .wiki/ to GitHub Wiki
|
name: Sync .github/wiki/ to GitHub Wiki
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
@ -25,7 +25,7 @@ jobs:
|
||||||
|
|
||||||
- name: Copy wiki files
|
- name: Copy wiki files
|
||||||
run: |
|
run: |
|
||||||
cp .wiki/*.md wiki-repo/
|
cp .github/wiki/*.md wiki-repo/
|
||||||
|
|
||||||
- name: Commit and push
|
- name: Commit and push
|
||||||
working-directory: wiki-repo
|
working-directory: wiki-repo
|
||||||
|
|
@ -33,5 +33,5 @@ jobs:
|
||||||
git config user.name "github-actions[bot]"
|
git config user.name "github-actions[bot]"
|
||||||
git config user.email "github-actions[bot]@users.noreply.github.com"
|
git config user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git add -A
|
git add -A
|
||||||
git diff --cached --quiet || git commit -m "Sync wiki from .wiki/ [skip ci]"
|
git diff --cached --quiet || git commit -m "Sync wiki from .github/wiki/ [skip ci]"
|
||||||
git push
|
git push
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue