Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading