Skip to content
Merged
Show file tree
Hide file tree
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
17 changes: 8 additions & 9 deletions .github/workflows/azure-static-web-apps-gray-stone-017611203.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
- dev
- staging
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
Expand All @@ -20,20 +22,16 @@ jobs:
submodules: true
lfs: false

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Remove system namespaces
run: python ./openapi/remove_namespaces_from_doc.py
- name: Show removed namespaces
run: git diff --name-only || true

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'

- name: Simplify schema names
run: node ./openapi/SimplifySchemaNames.cjs ./openapi/swagger.json
- name: Show simplified schemas
run: git diff --name-only || true

- name: Install dependencies
run: npm install
Expand All @@ -48,6 +46,7 @@ jobs:
id: builddeploy
uses: Azure/static-web-apps-deploy@v1
with:
production_branch: "main"
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_GRAY_STONE_017611203 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: "upload"
Expand Down
Empty file removed api-docs.html
Empty file.
Loading