Skip to content

Commit ee33469

Browse files
readme helical
1 parent 3933d65 commit ee33469

File tree

12 files changed

+24
-11
lines changed

12 files changed

+24
-11
lines changed

.github/workflows/markdownList.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,17 @@
22
# format:
33
# - source: path/to/markdown/file.md
44
# target: Wiki-Page-Name
5-
65
mappings:
7-
- source: benchmarks/rotatingDrum/readme.md
6+
- source: benchmarks/readme.md
87
target: Performance-of-phasicFlow
8+
- source: benchmarks/helicalMider/readme.md
9+
target: Helical-Mixer-Benchmark
10+
- source: benchmarks/rotatingDrum/readme.md
11+
target: Rotating-Drum-Benchmark
912
- source: doc/mdDocs/howToBuild-V1.0.md
1013
target: How-to-build-PhasicFlow‐v‐1.0
1114
- source: tutorials/README.md
1215
target: Tutorials
1316
- source: doc/mdDocs/phasicFlowFeatures.md
1417
target: Features-of-PhasicFlow
15-
1618
# Add more mappings as needed

.github/workflows/sync-wiki.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
name: Sync-Wiki
22

3-
on: push
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- "**/*.md"
9+
- ".github/workflows/sync-wiki.yml"
10+
- ".github/workflows/markdownList.yml"
11+
- ".github/scripts/sync-wiki.py"
12+
workflow_dispatch:
413

514
jobs:
615
sync-wiki:
@@ -10,14 +19,12 @@ jobs:
1019
uses: actions/checkout@v3
1120
with:
1221
path: repo
13-
1422
- name: Checkout Wiki
1523
uses: actions/checkout@v3
1624
with:
1725
repository: ${{ github.repository }}.wiki
1826
path: wiki
1927
continue-on-error: true
20-
2128
- name: Create Wiki Directory if Not Exists
2229
run: |
2330
if [ ! -d "wiki" ]; then
@@ -28,29 +35,25 @@ jobs:
2835
git config user.email "${{ github.actor }}@users.noreply.github.com"
2936
git remote add origin "https://github.com/${{ github.repository }}.wiki.git"
3037
fi
31-
3238
- name: Set up Python
3339
uses: actions/setup-python@v4
3440
with:
3541
python-version: '3.10'
36-
3742
- name: Install dependencies
3843
run: pip install pyyaml
39-
4044
- name: Sync markdown files to Wiki
4145
run: |
4246
python $GITHUB_WORKSPACE/repo/.github/scripts/sync-wiki.py
4347
env:
4448
GITHUB_REPOSITORY: ${{ github.repository }}
45-
4649
- name: Push changes to wiki
4750
run: |
4851
cd wiki
4952
git config user.name "${{ github.actor }}"
5053
git config user.email "${{ github.actor }}@users.noreply.github.com"
5154
git add .
5255
if git status --porcelain | grep .; then
53-
git commit -m "Auto sync wiki from main repository"
56+
git commit -m "Auto sync wiki from main repository"
5457
git push --set-upstream https://${{ github.actor }}:${{ github.token }}@github.com/${{ github.repository }}.wiki.git master -f
5558
else
5659
echo "No changes to commit"

benchmarks/helicalMixer/readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Helical Mixer Benchmark (phasicFlow v-1.0)

benchmarks/readmd.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
# Benchmarks
3+
4+
Benchmakrs has been done on two different simulations: a simulation with simple geometry (rotating drum) and a simulation with complex geometry (helical mixer).
5+
6+
- [rotating drum](./rotatingDrum/readme.md)
7+
- [helical mixer](./helicalMixer/readme.md)

0 commit comments

Comments
 (0)