data-liberation-project / aphis-inspection-reports

Inspection data and PDFs from the USDA's Animal and Plant Health Inspection Service.
13 stars 3 forks source link

GitHub Pages needs to be activated for the repo #46

Closed palewire closed 1 year ago

palewire commented 1 year ago

You can see the error here. The key message is below. It suggest we need to go into the settings and turn on Pages.

Actor: palewire
Action ID: 4076840745
Artifact URL: https://pipelines.actions.githubusercontent.com/W6Z6rhCoI5J6ZoLeVBNSAOwnLXCujsbbg3xQcW0mPkVwp7If6i/_apis/pipelines/workflows/4076840745/artifacts?api-version=6.0-preview
{"count":1,"value":[{"containerId":2136139,"size":66037760,"signedContent":null,"fileContainerResourceUrl":"https://pipelines.actions.githubusercontent.com/W6Z6rhCoI5J6ZoLeVBNSAOwnLXCujsbbg3xQcW0mPkVwp7If6i/_apis/resources/Containers/2136139","type":"actions_storage","name":"github-pages","url":"https://pipelines.actions.githubusercontent.com/W6Z6rhCoI5J6ZoLeVBNSAOwnLXCujsbbg3xQcW0mPkVwp7If6i/_apis/pipelines/1/runs/143/artifacts?artifactName=github-pages","expiresOn":"2023-02-03T17:12:14.0145849Z","items":null}]}
Creating deployment with payload:
{
    "artifact_url": "https://pipelines.actions.githubusercontent.com/W6Z6rhCoI5J6ZoLeVBNSAOwnLXCujsbbg3xQcW0mPkVwp7If6i/_apis/pipelines/1/runs/143/artifacts?artifactName=github-pages&%24expand=SignedContent",
    "pages_build_version": "5dd44a7cb5e0cd6e20c00257b473521f9e1476[11](https://github.com/data-liberation-project/aphis-inspection-reports/actions/runs/4076840745/jobs/7025259857#step:2:12)",
    "oidc_token": "***"
}
Error: Request failed with status code 404
    at createError (/home/runner/work/_actions/actions/deploy-pages/v1.2.3/webpack:/deploy-pages/node_modules/axios/lib/core/createError.js:16:1)
    at settle (/home/runner/work/_actions/actions/deploy-pages/v1.2.3/webpack:/deploy-pages/node_modules/axios/lib/core/settle.js:17:1)
    at IncomingMessage.handleStreamEnd (/home/runner/work/_actions/actions/deploy-pages/v1.2.3/webpack:/deploy-pages/node_modules/axios/lib/adapters/http.js:293:1)
    at IncomingMessage.emit (node:events:539:35)
    at endReadableNT (node:internal/streams/readable:1345:[12](https://github.com/data-liberation-project/aphis-inspection-reports/actions/runs/4076840745/jobs/7025259857#step:2:13))
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
Error: Failed to create deployment (status: 404) with build version 5dd44a7cb5e0cd6e20c00257b473521f9e[14](https://github.com/data-liberation-project/aphis-inspection-reports/actions/runs/4076840745/jobs/7025259857#step:2:15)7611. Ensure GitHub Pages has been enabled: https://github.com/data-liberation-project/aphis-inspection-reports/settings/pages
jsvine commented 1 year ago

Removed this step of the workflow for now via https://github.com/data-liberation-project/aphis-inspection-reports/commit/340eb64608ac90862fc2d1a1cca83a5d4511044d but keeping this issue open as a reminder to enable later.

jsvine commented 1 year ago

Ah, this has since been done!