Fix deployment workflow: update permissions and streamline build steps #18
deployment.yml
on: pull_request
build-and-deploy
1m 11s
Annotations
3 errors
|
build-and-deploy
Error: Failed to create deployment (status: 400) with build version 992c351df686c0e670fef09c916e0bb3cca457cb. Request ID DC01:271032:630103:1A823BA:69406727 Responded with: Missing environment. Ensure your workflow's deployment job has an environment. Example:
jobs:
deploy:
environment:
name: github-pages
|
|
build-and-deploy
HttpError: Missing environment. Ensure your workflow's deployment job has an environment. Example:
jobs:
deploy:
environment:
name: github-pages
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)
|
|
build-and-deploy
Creating Pages deployment failed
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
github-pages
Expired
|
1020 KB |
sha256:7f4f4b85071472fe442a0d0042a781d02fbc498b32e2ed6ca0eb4eae20165086
|
|