mirror of
https://github.com/acamarata/dayjs-hijri-plus.git
synced 2026-07-03 04:00:39 +00:00
chore: align repository structure with portfolio documentation standards
This commit is contained in:
parent
d598ec1a39
commit
8b51b0fa48
4 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
|
||||||
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Copy wiki files
|
- name: Copy wiki files
|
||||||
run: cp .wiki/*.md wiki-repo/
|
run: cp .github/wiki/*.md wiki-repo/
|
||||||
|
|
||||||
- name: Commit and push
|
- name: Commit and push
|
||||||
working-directory: wiki-repo
|
working-directory: wiki-repo
|
||||||
|
|
@ -32,5 +32,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