Skip to content

Trying a different approach using enviroments #19

Trying a different approach using enviroments

Trying a different approach using enviroments #19

Triggered via push August 13, 2024 07:59
Status Failure
Total duration 44s
Artifacts 1

pages.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors
deploy
Creating Pages deployment failed
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:95: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
Error: Failed to create deployment (status: 400) with build version cf2383d42734241012be9acd909d2b717d7ac189. Request ID 3009:1A6E22:904096:117D5CB:66BB128C Responded with: Invalid deployment branch and no branch protection rules set in the environment. Deployments are only allowed from main

Artifacts

Produced during runtime
Name Size
github-pages Expired
123 KB