Skip to content

telemetry: Add TelemetryFilterExpressions, fix waiting for Sleigh (#770) #72

telemetry: Add TelemetryFilterExpressions, fix waiting for Sleigh (#770)

telemetry: Add TelemetryFilterExpressions, fix waiting for Sleigh (#770) #72

Workflow file for this run

name: 'Docs: Deploy'
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'docs/**'
jobs:
build:
name: Build Docusaurus
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # ratchet:actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # ratchet:pnpm/action-setup@v4
with:
package_json_file: "docs/package.json"
run_install: false
- uses: actions/setup-node@cdca7365b2dadb8aad0a33bc7601856ffabcc48e # ratchet:actions/setup-node@v4
with:
node-version-file: "docs/package.json"
cache: pnpm
cache-dependency-path: "docs/pnpm-lock.yaml"
- name: Install deps
working-directory: docs
run: pnpm install --frozen-lockfile
- name: Build
working-directory: docs
run: pnpm build
- name: Upload
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # ratchet:actions/upload-pages-artifact@v3
with:
path: ./docs/build
deploy:
name: Deploy
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # ratchet:actions/deploy-pages@v4