chore(deps): bump webpack-dev-server from 5.2.4 to 5.2.5 in /documentation (#9863)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Douwe M Osinga <douwe@sidewalklabs.com>
This commit is contained in:
@@ -20,6 +20,10 @@ jobs:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
env:
|
||||
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.PAGES_PR_PREVIEW_CF_ACCOUNT_ID }}
|
||||
CLOUDFLARE_API_TOKEN: ${{ secrets.PAGES_PR_PREVIEW_CF_API_TOKEN }}
|
||||
CLOUDFLARE_PAGES_PROJECT_NAME: ${{ secrets.PAGES_PR_PREVIEW_CF_PAGES_PROJECT_NAME }}
|
||||
steps:
|
||||
- name: Checkout the branch
|
||||
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
|
||||
@@ -47,17 +51,16 @@ jobs:
|
||||
run: ./scripts/verify-build.sh
|
||||
|
||||
- name: Setup Node.js for Wrangler
|
||||
if: env.CLOUDFLARE_API_TOKEN != ''
|
||||
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
|
||||
with:
|
||||
node-version: 22
|
||||
|
||||
- name: Deploy preview to Cloudflare Pages
|
||||
if: env.CLOUDFLARE_API_TOKEN != ''
|
||||
id: cloudflare-pages
|
||||
working-directory: ./documentation
|
||||
env:
|
||||
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.PAGES_PR_PREVIEW_CF_ACCOUNT_ID }}
|
||||
CLOUDFLARE_API_TOKEN: ${{ secrets.PAGES_PR_PREVIEW_CF_API_TOKEN }}
|
||||
CLOUDFLARE_PAGES_PROJECT_NAME: ${{ secrets.PAGES_PR_PREVIEW_CF_PAGES_PROJECT_NAME }}
|
||||
PR_NUMBER: ${{ github.event.number }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
@@ -76,6 +79,7 @@ jobs:
|
||||
echo "preview-url=$preview_url" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Comment preview URL
|
||||
if: env.CLOUDFLARE_API_TOKEN != ''
|
||||
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
|
||||
env:
|
||||
PREVIEW_URL: ${{ steps.cloudflare-pages.outputs.preview-url }}
|
||||
|
||||
Reference in New Issue
Block a user