Skip to content

Commit 909bff3

Browse files
committed
GHA
1 parent 1c12b84 commit 909bff3

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

.github/workflows/documentation.yaml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,22 @@ jobs:
2727

2828
steps:
2929

30-
- uses: actions/setup-python@v4
30+
- uses: actions/checkout@v4
31+
32+
- uses: actions/setup-python@v5
3133
with:
3234
python-version: '3.11'
3335
cache: pip
3436

37+
# MKDocs build
38+
3539
- name: Install dependencies
3640
run: python -m pip install -r requirements.txt
3741

3842
- name: MKDocs build
3943
run: mkdocs build --config-file mkdocs.yml --strict
4044

41-
- uses: actions/checkout@v4
42-
with:
43-
fetch-depth: 1
44-
45-
- uses: actions/setup-python@v5
46-
with:
47-
python-version: 3.11
48-
cache: pip
45+
# Retrieve remote task-list data
4946

5047
- name: Install requirements
5148
run: python3 -m pip install -r tasks/data_retrieval/requirements.txt
@@ -55,14 +52,12 @@ jobs:
5552

5653
- run: cat tasks/data_retrieval/tasks_data.json
5754

58-
- name: Get package source code
59-
uses: actions/checkout@v4
55+
- uses: actions/checkout@v4
6056
with:
6157
repository: fractal-analytics-platform/fractal-web
62-
ref: tasks-list-module
58+
ref: tasks-list-module # FIXME
6359

64-
- name: Set up node
65-
uses: actions/setup-node@v4
60+
- uses: actions/setup-node@v4
6661
with:
6762
node-version: 20
6863
cache: npm
@@ -80,7 +75,7 @@ jobs:
8075
- name: Move tasks.json file to fractal-web/tasks-list/src
8176
run: mv tasks/data_retrieval/tasks_data.json fractal-web/tasks-list/src/tasks.json
8277

83-
- name: Build tasks-list
78+
- name: Build tasks-list page
8479
run: |
8580
cd fractal-web/tasks-list
8681
npm run build

0 commit comments

Comments
 (0)