Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip_changelog(ci): fix docs publish permissions #394

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

gardar
Copy link
Member

@gardar gardar commented Jul 1, 2024

@felixfontein
Copy link

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

@gardar gardar merged commit 6662e56 into prometheus-community:main Jul 1, 2024
16 of 17 checks passed
@gardar gardar deleted the fix-docs-push-permissions branch July 1, 2024 14:02
@gardar
Copy link
Member Author

gardar commented Jul 2, 2024

@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
Copy link

bendwyer commented Jul 3, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants