fix: add missing file for docsite builds (#32526)

* fix: add missing file for docsite builds

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

* create directory

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>

---------

Signed-off-by: aramissennyeydd <aramis.sennyey@doordash.com>
This commit is contained in:
Aramis Sennyey
2026-01-26 09:31:14 -07:00
committed by GitHub
parent 658ea65574
commit f7ad4051c2
2 changed files with 30 additions and 2 deletions
+15 -1
View File
@@ -244,11 +244,25 @@ jobs:
name: stable-openapi-docs
path: docs
- name: grab lastest releases docs
- name: grab latest releases docs
run: |
git fetch origin master --depth 1
git checkout FETCH_HEAD -- docs/releases
- name: create missing generated file
run: |
mkdir -p docs/reference
cat > docs/reference/index.md <<EOF
---
id: 'index'
title: 'Package Index'
description: 'Index of all Backstage Packages'
---
Please use [the new API documentation](https://backstage.io/api/stable) for more information.
EOF
- name: generate stable docs
run: yarn docusaurus docs:version stable
working-directory: microsite
+15 -1
View File
@@ -251,11 +251,25 @@ jobs:
name: stable-openapi-docs
path: docs
- name: grab lastest releases docs
- name: grab latest releases docs
run: |
git fetch origin master --depth 1
git checkout FETCH_HEAD -- docs/releases
- name: create missing generated file
run: |
mkdir -p docs/reference
cat > docs/reference/index.md <<EOF
---
id: 'index'
title: 'Package Index'
description: 'Index of all Backstage Packages'
---
Please use [the new API documentation](https://backstage.io/api/stable) for more information.
EOF
- name: generate stable docs
run: yarn docusaurus docs:version stable
working-directory: microsite