Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
LeahMarieBush committed Jan 15, 2025
1 parent dc5556b commit b50ca5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-sitemap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
build-sitemap:
runs-on: ubuntu-latest
steps:
- name: Check out branch
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- name: Set up node
Expand Down
5 changes: 5 additions & 0 deletions scripts/build-sitemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ const envConfigPath = path.join(process.cwd(), 'config', `${env}.json`)

const __config = unflatten(getHashiConfig(envConfigPath))

/**
* This script is run as part of the Build sitemap github action that runs on PRs and
* pushes to main. To run this script manually, you can run the following command:
* `npx hc-tools ./scripts/build-sitemap.ts`
*/
async function main() {
try {
await allDocsFields(__config)
Expand Down

0 comments on commit b50ca5e

Please sign in to comment.