Skip to content

Commit 66f9911

Browse files
committed
GHA
1 parent 909bff3 commit 66f9911

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/documentation.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ jobs:
5656
with:
5757
repository: fractal-analytics-platform/fractal-web
5858
ref: tasks-list-module # FIXME
59+
with:
60+
sparse-checkout: |
61+
components
62+
tasks-list
5963
6064
- uses: actions/setup-node@v4
6165
with:
@@ -64,24 +68,24 @@ jobs:
6468

6569
- name: Install components dependencies
6670
run: |
67-
cd fractal-web/components
71+
cd ../fractal-web/components
6872
npm install
6973
7074
- name: Install tasks-list dependencies
7175
run: |
72-
cd fractal-web/tasks-list
76+
cd ../fractal-web/tasks-list
7377
npm install
7478
7579
- name: Move tasks.json file to fractal-web/tasks-list/src
7680
run: mv tasks/data_retrieval/tasks_data.json fractal-web/tasks-list/src/tasks.json
7781

7882
- name: Build tasks-list page
7983
run: |
80-
cd fractal-web/tasks-list
84+
cd ../fractal-web/tasks-list
8185
npm run build
8286
8387
- name: Move tasks-list built files in docs site
84-
run: mv fractal-web/tasks-list/build/ site/fractal-tasks
88+
run: mv ../fractal-web/tasks-list/build/ ../site/fractal-tasks
8589

8690
- name: Deploy docs
8791
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

0 commit comments

Comments
 (0)