Skip to content

Update ListVolumesByMetricName description for Metric Name Pricing #15517

Update ListVolumesByMetricName description for Metric Name Pricing

Update ListVolumesByMetricName description for Metric Name Pricing #15517

Workflow file for this run

name: docs
permissions:
contents: write
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up Node 16
uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v4.4.0
with:
node-version: 16
cache: 'yarn'
- name: Build documentation
run: |
yarn install
yarn run typedoc --out docs --readme README.md --name datadog-api-client-typescript .
- name: Compress docs
run: tar czf docs.tar.gz docs
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
with:
name: documentation
path: docs.tar.gz
publish:
runs-on: ubuntu-latest
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
needs:
- build
steps:
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
with:
name: documentation
path: docs
- name: Uncompress docs
run: tar xzf docs/docs.tar.gz && rm docs/docs.tar.gz
- uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
commit_message: ${{ github.event.head_commit.message }}
# Write .nojekyll at the root, see:
# https://help.github.com/en/github/working-with-github-pages/about-github-pages#static-site-generators
enable_jekyll: false
# Only deploy if there were changes
allow_empty_commit: false
# GH pages branch is getting super big, so we want to reduce it by creating an orphan branch
force_orphan: true