Update gunicorn requirement from >=21.2 to >=26.2.0 #83
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Node | |
| uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.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@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.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@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5 |