prometheus-community / ansible

Ansible Collection for Prometheus
https://prometheus-community.github.io/ansible/
Apache License 2.0
397 stars 134 forks source link

skip_changelog(ci): fix docs publish permissions #394

Closed gardar closed 5 months ago

gardar commented 5 months ago

https://github.com/ansible-community/github-docs-build/pull/93

felixfontein commented 5 months ago

For the failing Ansible 2.9 tests, check out https://github.com/ansible-community/eol-ansible/ :)

gardar commented 5 months ago

@felixfontein any ideas why we are now seeing issues like this for all pages publish jobs?

Publish Ansible Docs / Publish to GitHub Pages

HttpError: Invalid environment node id
    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)

Publish Ansible Docs / Publish to GitHub Pages

Error: Failed to create deployment (status: 500) with build version 46c6960c9b902a76ec75aa255b60f3ab4be5565a. Request ID B450:1C0D4E:210C4CD:3955999:6683A074 Server error, is githubstatus.com reporting a Pages outage? Please re-run the deployment at a later time.
bendwyer commented 5 months ago

Hi @gardar I ran into this issue also, and solved it by switching Pages to use GitHub Actions:

Settings > Pages > Build and Deployment

"Source" needs to be GitHub Actions. No workflow needs to be created or defined.