Skip to content

Commit 4e4826f

Browse files
committed
GHA
1 parent 2b52a57 commit 4e4826f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/documentation.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ jobs:
5656
with:
5757
repository: fractal-analytics-platform/fractal-web
5858
ref: tasks-list-module # FIXME
59+
path: fractal-web
5960
sparse-checkout: |
6061
components
6162
tasks-list
@@ -71,24 +72,24 @@ jobs:
7172

7273
- name: Install components dependencies
7374
run: |
74-
cd ../fractal-web/components
75+
cd fractal-web/components
7576
npm install
7677
7778
- name: Install tasks-list dependencies
7879
run: |
79-
cd ../fractal-web/tasks-list
80+
cd fractal-web/tasks-list
8081
npm install
8182
8283
- name: Move tasks.json file to fractal-web/tasks-list/src
8384
run: mv tasks/data_retrieval/tasks_data.json fractal-web/tasks-list/src/tasks.json
8485

8586
- name: Build tasks-list page
8687
run: |
87-
cd ../fractal-web/tasks-list
88+
cd fractal-web/tasks-list
8889
npm run build
8990
9091
- name: Move tasks-list built files in docs site
91-
run: mv ../fractal-web/tasks-list/build/ ../site/fractal-tasks
92+
run: mv fractal-web/tasks-list/build/ site/fractal-tasks
9293

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

0 commit comments

Comments
 (0)