File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 1818 env :
1919 TECHDOCS_BUCKET_NAME : ${{ secrets.TECHDOCS_BUCKET_NAME }}
2020 TECHDOCS_GCS_CREDENTIALS : ${{ secrets.TECHDOCS_GCS_CREDENTIALS }}
21+ ENTITY_NAMESPACE : ' default'
22+ ENTITY_KIND : ' Component'
23+ ENTITY_NAME : ' code-idp-docs'
2124
2225 steps :
2326 - name : Checkout code
3235 run :
corepack prepare [email protected] --activate 3336
3437 - name : Set up Node.js
35- uses : actions/setup-node@v4
38+ uses : actions/setup-node@v3
3639 with :
3740 node-version : ${{ matrix.node-version }}
3841 cache : ' yarn'
@@ -46,10 +49,10 @@ jobs:
4649 run : yarn global add @techdocs/cli
4750
4851 - name : Install mkdocs and mkdocs-plugin
49- run : python -m pip install mkdocs-techdocs-core==1.* *
52+ run : python3 -m pip install mkdocs-techdocs-core==1.*
5053
5154 - name : Generate docs site
5255 run : techdocs-cli generate --no-docker --verbose
5356
5457 - name : Publish docs site
55- run : techdocs-cli publish --publisher-type googleGcs --storage-name ${{ env. TECHDOCS_BUCKET_NAME }} --gcs-credentials ${{ env.TECHDOCS_GCS_CREDENTIALS }}
58+ run : techdocs-cli publish --publisher-type googleGcs --storage-name $TECHDOCS_BUCKET_NAME --entity $ENTITY_NAMESPACE/$ENTITY_KIND/$ENTITY_NAME
You can’t perform that action at this time.
0 commit comments