File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -49,20 +49,28 @@ jobs:
4949 - name : ' Set up Cloud SDK'
5050 uses : ' google-github-actions/setup-gcloud@v1'
5151
52- - name : Compute documentation
53- run : |
54- git clone https://github.com/api-platform/docs-website
55- cd docs-website
56- npm install
52+ - name : Clone website
53+ uses : actions/checkout@v2
54+ with :
55+ repository : api-platform/docs-website
56+ path : docs-website
57+ - name : Install javascript packages
58+ working-directory : docs-website
59+ run : npm install
5760 - name : Fetch API Platform docs
61+ working-directory : docs-website
5862 run : tools/get-docs.sh
5963 - name : Fetch API Platform references and guides
64+ working-directory : docs-website
6065 run : tools/get-core-docs.sh
6166 - name : Build menu
67+ working-directory : docs-website
6268 run : node tools/menu.mjs
6369 - name : Hugo
70+ working-directory : docs-website
6471 run : hugo --minify
6572 - name : Deploy
73+ working-directory : docs-website
6674 run : gsutil -q -m rsync -d -r ./public gs://api-platform-website-v3/
6775 # This need to move to website
6876 # env:
You can’t perform that action at this time.
0 commit comments