Skip to content

Commit 4d688a4

Browse files
authored
UPD:Update techdocs-gcs.yml (#94)
1 parent 27052c6 commit 4d688a4

File tree

1 file changed

+6
-19
lines changed

1 file changed

+6
-19
lines changed

.github/workflows/techdocs-gcs.yml

Lines changed: 6 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,37 +16,24 @@ jobs:
1616
node-version: ['20.x']
1717

1818
env:
19-
TECHDOCS_BUCKET_NAME: ${{ secrets.TECHDOCS_BUCKET_NAME }}
19+
TECHDOCS_BUCKET_NAME: backstage-codeidp-techdocs
2020
TECHDOCS_GCS_CREDENTIALS: ${{ secrets.TECHDOCS_GCS_CREDENTIALS }}
21+
TECHDOCS_REGION: europe-west10
2122
ENTITY_NAMESPACE: 'default'
2223
ENTITY_KIND: 'Component'
2324
ENTITY_NAME: 'code-idp-docs'
2425

2526
steps:
2627
- name: Checkout code
2728
uses: actions/checkout@v4
28-
with:
29-
fetch-depth: 0
30-
31-
- name: Enable Corepack
32-
run: corepack enable
33-
34-
- name: Set Yarn Version
35-
run: corepack prepare [email protected] --activate
36-
37-
- name: Set up Node.js
38-
uses: actions/setup-node@v3
39-
with:
40-
node-version: ${{ matrix.node-version }}
41-
cache: 'yarn'
4229

43-
- name: Setup Python
44-
uses: actions/setup-python@v4
30+
- uses: actions/setup-node@v3
31+
- uses: actions/setup-python@v4
4532
with:
46-
python-version: '3.9'
33+
python-version: '3.9'
4734

4835
- name: Install techdocs-cli
49-
run: yarn global add @techdocs/cli
36+
run: sudo npm install -g @techdocs/cli
5037

5138
- name: Install mkdocs and mkdocs-plugin
5239
run: python3 -m pip install mkdocs-techdocs-core==1.*

0 commit comments

Comments
 (0)