Skip to content

Commit 247dbef

Browse files
committed
ci: run each script separatly
1 parent 4793154 commit 247dbef

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/cd.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,20 @@ jobs:
5454
git clone https://github.com/api-platform/docs-website
5555
cd docs-website
5656
npm install
57-
# fetches api-platform/docs
58-
bash tools/get-docs.sh
59-
# fetches api-platform/core for reference and guides
60-
bash tools/get-core-docs.sh
61-
# builds the config/_default/menu.toml according to the outline.yaml from api-platform/docs
62-
node tools/menu.mjs
63-
# build our tailwind theme
64-
hugo --minify
65-
gsutil -q -m rsync -d -r ./public gs://api-platform-website-v3/
66-
# This need to move to website
67-
# env:
68-
# GITHUB_KEY: ${{ secrets.CONTRIBUTORS_GITHUB_TOKEN }}
69-
# NODE_OPTIONS: --openssl-legacy-provider
70-
57+
- name: Fetch API Platform docs
58+
run: tools/get-docs.sh
59+
- name: Fetch API Platform references and guides
60+
run: tools/get-core-docs.sh
61+
- name: Build menu
62+
run: node tools/menu.mjs
63+
- name: Hugo
64+
run: hugo --minify
65+
- name: Deploy
66+
run: gsutil -q -m rsync -d -r ./public gs://api-platform-website-v3/
67+
# This need to move to website
68+
# env:
69+
# GITHUB_KEY: ${{ secrets.CONTRIBUTORS_GITHUB_TOKEN }}
70+
# NODE_OPTIONS: --openssl-legacy-provider
7171
# - name: Deploy
7272
# uses: peaceiris/actions-gh-pages@v3
7373
# with:

0 commit comments

Comments
 (0)