Skip to content

Commit 4070453

Browse files
committed
CI: add build step to include fragnova-network in doc
1 parent 6aaf531 commit 4070453

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/build-doc.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,19 @@ jobs:
134134
ln -s ../../shards-examples/tutorials/
135135
cd docs/learn/shards
136136
ln -s ../../../../../shards-examples/tutorials/
137+
- name: Checkout fragnova
138+
uses: actions/checkout@v3
139+
with:
140+
repository: fragcolor-xyz/fragnova
141+
fetch-depth: 1
142+
path: fragnova
143+
- name: Link fragnova
144+
run: |
145+
# note: we link twice because some relative path (esp. include) might be incorrect
146+
cd shards/docs
147+
ln -s ../../fragnova/docs/fragnova-network
148+
cd docs/learn
149+
ln -s ../../../../fragnova/docs/fragnova-network
137150
- name: Build website
138151
if: ${{ steps.setup.outputs.publish != 'true' }}
139152
run: |

0 commit comments

Comments
 (0)