Skip to content

Add GitHub Actions workflow for Pages PR preview #2

Add GitHub Actions workflow for Pages PR preview

Add GitHub Actions workflow for Pages PR preview #2

Triggered via pull request June 30, 2026 21:54
Status Failure
Total duration 10s
Artifacts 1

pages-preview.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
deploy
Error: Failed to create deployment (status: 400) with build version af0d2c8e73baa86baea7781e9b8ca491b2e994b1. Request ID C029:30B4E5:1A0BDBF:5DCF46E:6A443B0A Responded with: Invalid deployment branch and no branch protection rules set in the environment. Deployments are only allowed from main
deploy
HttpError: Invalid deployment branch and no branch protection rules set in the environment. Deployments are only allowed from main at /home/runner/work/_actions/actions/deploy-pages/v4/node_modules/@octokit/request/dist-node/index.js:124:1 at processTicksAndRejections (node:internal/process/task_queues:104:5) at createPagesDeployment (/home/runner/work/_actions/actions/deploy-pages/v4/src/internal/api-client.js:125:1) at Deployment.create (/home/runner/work/_actions/actions/deploy-pages/v4/src/internal/deployment.js:74:1) at main (/home/runner/work/_actions/actions/deploy-pages/v4/src/index.js:30:1)
deploy
Creating Pages deployment failed
deploy
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/configure-pages@v5, actions/deploy-pages@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/

Artifacts

Produced during runtime
Name Size Digest
github-pages Expired
2.42 MB
sha256:a87160241447405bc1a5badf1740bd14a5841ab4f80ca7b539cf2fbeb6c7949c