Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.
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
2 changes: 1 addition & 1 deletion .github/workflows/listener.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Open Pull Request
if: steps.replace-specs-snippets.outputs.needs_pr
run: |
hub pull-request --base Bandwidth:main $(if ${{ github.event.client_payload.draftPr }} ; then echo "-d" ; fi) -m '${{ github.event.client_payload.branchName }}' -m 'Update API specs from upstream api-specs repository. Opened By: @${{ github.event.client_payload.author }}'
gh pr create -B main $(if ${{ github.event.client_payload.draftPr }} ; then echo "-d" ; fi) -t '${{ github.event.client_payload.branchName }}' -b 'Update API specs from upstream api-specs repository. Opened By: @${{ github.event.client_payload.author }}'
env:
GITHUB_TOKEN: ${{ secrets.DX_GITHUB_TOKEN }}

Expand Down
3 changes: 2 additions & 1 deletion site/custom.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"dashSpecLink": "https://github.com/Bandwidth/api-docs/blob/main/site/specs/dash.json",
"dashNotificationsSpecLink": "https://github.com/Bandwidth/api-docs/blob/main/site/specs/dashNotifications.json",
"identitySpecLink": "https://github.com/Bandwidth/api-docs/blob/main/site/specs/one-identity-management.yml",
"insightsSpecLink": "https://github.com/Bandwidth/api-docs/blob/main/site/specs/insights.yml"
"insightsSpecLink": "https://github.com/Bandwidth/api-docs/blob/main/site/specs/insights.yml",
"emergencyProvisioningSpec": "https://github.com/Bandwidth/api-docs/blob/main/site/specs/emergency.yml"
}
4 changes: 4 additions & 0 deletions site/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ const identitySpec = fs.readFileSync(
const identityspecLink = "";
const insightsSpec = fs.readFileSync("./specs/insights.yml", "utf-8");

const emergencyProvisioningSpec = fs.readFileSync("./specs/emergency.yml", "utf-8");

module.exports = {
title: "Bandwidth API Docs",
tagline: "Learn About Bandwidth's Product APIs",
Expand Down Expand Up @@ -200,6 +202,8 @@ module.exports = {
identitySpecLink: `${customConfig.dashNotificationsSpecLink}`,
insightsSpec: YAML.parse(insightsSpec),
insightsSpecLink: `${customConfig.insightsSpecLink}`,
emergencyProvisioningSpec: YAML.parse(emergencyProvisioningSpec),
emergencyProvisioningSpecLink: `${customConfig.emergencyProvisioningSpecLink}`,

blogPosts: blogPosts,

Expand Down
Loading