Skip to content

Commit

Permalink
UPD:Update techdocs-gcs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NewerKey authored Feb 4, 2025
1 parent 27052c6 commit cab3d38
Showing 1 changed file with 6 additions and 19 deletions.
25 changes: 6 additions & 19 deletions .github/workflows/techdocs-gcs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,37 +16,24 @@ jobs:
node-version: ['20.x']

env:
TECHDOCS_BUCKET_NAME: ${{ secrets.TECHDOCS_BUCKET_NAME }}
TECHDOCS_BUCKET_NAME: backstage-codeidp-techdocs
TECHDOCS_GCS_CREDENTIALS: ${{ secrets.TECHDOCS_GCS_CREDENTIALS }}
TECHDOCS_REGION: europe-west10
ENTITY_NAMESPACE: 'default'
ENTITY_KIND: 'Component'
ENTITY_NAME: 'code-idp-docs'

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Enable Corepack
run: corepack enable

- name: Set Yarn Version
run: corepack prepare yarn@4.4.1 --activate

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- name: Setup Python
uses: actions/setup-python@v4
- uses: actions/setup-node@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.9'

- name: Install techdocs-cli
run: yarn global add @techdocs/cli
run: sudo npm install -g @techdocs/cli

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

0 comments on commit cab3d38

Please sign in to comment.