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

"Deploy documentation PR preview" builds are failing #3891

Closed
andybalaam opened this issue Nov 16, 2023 · 0 comments · Fixed by #3893
Closed

"Deploy documentation PR preview" builds are failing #3891

andybalaam opened this issue Nov 16, 2023 · 0 comments · Fixed by #3893

Comments

@andybalaam
Copy link
Contributor

andybalaam commented Nov 16, 2023

Here is an example of a failed run: https://github.com/matrix-org/matrix-js-sdk/actions/runs/6883595442

Snippet:

Run matrix-org/netlify-pr-preview@v2
Run bobheadxi/deployments@88ce5600046c82542f8246ac287d0a53c461bca3
targeting matrix-org/matrix-js-sdk
initializing new deployment for PR Documentation Preview @ e001e57a3483c360b8eac5bb6837e4ff9189feca
created deployment 1175042241 for PR Documentation Preview @ e001e57a3483c360b8eac5bb6837e4ff9189feca
created deployment status 2779009591 with status "in_progress"
Run matrix-org/pr-details-action@v1.3
Run actions/github-script@v6
Run nwtgck/actions-netlify@5da65c9f74c7961c5501a3ba329b8d0912f39c03
  with:
    publish-dir: docs
    deploy-message: Deploy from GitHub Actions
    enable-pull-request-comment: false
    enable-commit-comment: false
    alias: pr3886
  env:
    NETLIFY_AUTH_TOKEN: ***
    NETLIFY_SITE_ID: ***
Error: Unauthorized

I have created a new auth token in netlify and supplied it in the environment config here: https://github.com/matrix-org/matrix-js-sdk/settings/environments/711767567/edit but that did not affect the error.

Note that the relevant netlify account is the matrix-org one.

The workflow file is: https://github.com/matrix-org/matrix-js-sdk/blob/develop/.github/workflows/docs-pr-netlify.yaml . It is kicked off when "Static Analysis" finishes, which runs on pull requests, the merge queue, and pushes to develop and master, but within docs-pr-netlify.yaml we restrict it to only do anything on pull requests.

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

Successfully merging a pull request may close this issue.

1 participant