# Documentation not deploied with workflow "pages-build-deployment" failing

**URL:** https://discourse.julialang.org/t/documentation-not-deploied-with-workflow-pages-build-deployment-failing/78089
**Category:** Tooling
**Tags:** question, documenter
**Created:** [March 18, 2022, 2:57pm UTC](https://discourse.julialang.org/t/documentation-not-deploied-with-workflow-pages-build-deployment-failing/78089 "2022-03-18T14:57:51Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)
#### Post date: [March 18, 2022, 2:57pm UTC](https://discourse.julialang.org/t/documentation-not-deploied-with-workflow-pages-build-deployment-failing/78089/1 "2022-03-18T14:57:51Z")

</div>

This is new to me.  
The [make.jl based workflow to make the documentation](https://github.com/sylvaticus/SPMLJ/blob/main/.github/workflows/ci.yml) is fine but then I have another workflow listed "pages-build-deployment’ that errors and the pages are not updated.  
I have no idea of what this workflow is.  
When I click on github I have two subtasks, “build” that is green, and “deploy” that is red.  
I did renamed the repository recently, but I don’t know if it is due to it.

The detailed error is:

```julia
Run actions/deploy-pages@v1
Actor: github-pages[bot]
Action ID: 1981858136
Artifact URL: https://pipelines.actions.githubusercontent.com/0ZiOKxRvrtb17EnAXQsBPuVcxemTAMf4VkpWYPWG8rcGXtcvgw/_apis/pipelines/workflows/1981858136/artifacts?api-version=6.0-preview
{"count":1,"value":[{"containerId":20504825,"size":3932160,"signedContent":null,"fileContainerResourceUrl":"https://pipelines.actions.githubusercontent.com/0ZiOKxRvrtb17EnAXQsBPuVcxemTAMf4VkpWYPWG8rcGXtcvgw/_apis/resources/Containers/20504825","type":"actions_storage","name":"github-pages","url":"https://pipelines.actions.githubusercontent.com/0ZiOKxRvrtb17EnAXQsBPuVcxemTAMf4VkpWYPWG8rcGXtcvgw/_apis/pipelines/1/runs/115/artifacts?artifactName=github-pages","expiresOn":"2022-06-12T16:34:19.1361372Z","items":null}]}
Creating deployment with payload:
{
	"artifact_url": "https://pipelines.actions.githubusercontent.com/0ZiOKxRvrtb17EnAXQsBPuVcxemTAMf4VkpWYPWG8rcGXtcvgw/_apis/pipelines/1/runs/115/artifacts?artifactName=github-pages&%24expand=SignedContent",
	"pages_build_version": "2ca0cbe98419860d0d4b1ea6cd1819a0abf24131",
	"oidc_token": "***"
}
Failed to create deployment for 2ca0cbe98419860d0d4b1ea6cd1819a0abf24131.
{"message":"Invalid actions OIDC token due to sub_invalid, validate around 1647275676.","documentation_url":"https://docs.github.com/rest/reference/repos#create-a-github-pages-deployment"}
Error: Error: Request failed with status code 400
Error: Error: Request failed with status code 400
Sending telemetry for run id 1981858136

```

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [March 18, 2022, 3:33pm UTC](https://discourse.julialang.org/t/documentation-not-deploied-with-workflow-pages-build-deployment-failing/78089/2 "2022-03-18T15:33:20Z")

</div>

Is this from yesterday? If so I think it might be related to [GitHubs problems](https://www.githubstatus.com/incidents/sksd097hm0y5) yesterday. I noticed several similar failures during that.

---

<div class="post-metadata">

### Author: ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)
#### Post date: [March 18, 2022, 3:37pm UTC](https://discourse.julialang.org/t/documentation-not-deploied-with-workflow-pages-build-deployment-failing/78089/3 "2022-03-18T15:37:15Z")

</div>

Thanks. The last I have it running is 4 days ago:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/0/4/040906ef24f3ddb36e04c20c15cc37a5131156cd.png)

What “pages-build-deployment” workflow is ?

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [March 18, 2022, 3:39pm UTC](https://discourse.julialang.org/t/documentation-not-deploied-with-workflow-pages-build-deployment-failing/78089/4 "2022-03-18T15:39:06Z")

</div>

It is GitHubs own workflow for taking the content of your `gh-pages` branch and uploading to their webserver.

---

<div class="post-metadata">

### Author: ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)
#### Post date: [March 18, 2022, 3:42pm UTC](https://discourse.julialang.org/t/documentation-not-deploied-with-workflow-pages-build-deployment-failing/78089/5 "2022-03-18T15:42:22Z")

</div>

ugh thanks… where do you think I can get support/hints on it then ?

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [March 18, 2022, 3:44pm UTC](https://discourse.julialang.org/t/documentation-not-deploied-with-workflow-pages-build-deployment-failing/78089/6 "2022-03-18T15:44:44Z")

</div>

I don’t think you need to worry, probably just an intermittent failure. If you rerun it I am sure it will work now.

---

<div class="post-metadata">

### Author: ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)
#### Post date: [March 18, 2022, 3:50pm UTC](https://discourse.julialang.org/t/documentation-not-deploied-with-workflow-pages-build-deployment-failing/78089/7 "2022-03-18T15:50:06Z")

</div>

hmm… I have done a push few hours ago, but the page build is not even starting:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/e/4/e494c879b96927eceafc247cfef7ea6ee570e298.png)

---

<div class="post-metadata">

### Author: ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)
#### Post date: [March 18, 2022, 3:52pm UTC](https://discourse.julialang.org/t/documentation-not-deploied-with-workflow-pages-build-deployment-failing/78089/8 "2022-03-18T15:52:56Z")

</div>

Did you read the logs?

```shell
┌ Info: Deployment criteria for deploying devbranch build from GitHub Actions:
│ - ✘ ENV["GITHUB_REPOSITORY"]="sylvaticus/SPMLJ" occurs in repo="github.com/sylvaticus/IntroSPMLJuliaCourse.git"
│ - ✔ ENV["GITHUB_EVENT_NAME"]="push" is "push" or "workflow_dispatch"
│ - ✔ ENV["GITHUB_REF"] matches devbranch="main"
│ - ✔ ENV["GITHUB_ACTOR"] exists and is non-empty
│ - ✔ ENV["DOCUMENTER_KEY"] exists and is non-empty
└ Deploying: ✘

```

---

<div class="post-metadata">

### Author: ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)
#### Post date: [March 18, 2022, 4:41pm UTC](https://discourse.julialang.org/t/documentation-not-deploied-with-workflow-pages-build-deployment-failing/78089/9 "2022-03-18T16:41:18Z")

</div>

Ahhhh… sorry, I did read but that skipped me (the green light mark biased my log-reading toward “all is fine”).

Thank you very much and sorry for the time…
