Skip to content

build(deps): bump github/codeql-action/analyze from 4.37.9 to 4.38.1 #180

build(deps): bump github/codeql-action/analyze from 4.37.9 to 4.38.1

build(deps): bump github/codeql-action/analyze from 4.37.9 to 4.38.1 #180

Workflow file for this run

name: Deploy documentation
# Documentation is deployed to the gh-pages branch with
# .github/scripts/deploy-docs.sh, matching the DQX release process.
on: {}
permissions:
contents: read
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on:
group: databrickslabs-protected-runner-group
labels: linux-ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "20"
cache: "npm"
cache-dependency-path: docs/package-lock.json
# npm 10.8.2 reported "Exit handler never called!" in the failed build
# and left node_modules incomplete. Pin the replacement for reproducible
# documentation builds.
- name: Setup npm
run: npm install --global npm@11.6.2
- name: Install dependencies
working-directory: docs
run: |
node --version
npm --version
npm config get registry
npm ci --no-audit --no-fund
test -x node_modules/.bin/docusaurus || {
echo "ERROR: docusaurus binary missing after npm ci."
echo "Installed @docusaurus packages:"
ls node_modules/@docusaurus 2>/dev/null || true
exit 1
}
- name: Build
working-directory: docs
run: npm run build
env:
NODE_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: docs/build
deploy:
runs-on:
group: databrickslabs-protected-runner-group
labels: linux-ubuntu-latest
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deploy
uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1