Comments (9)
The issue concerns the GitHub enterprise appliance and nothing with this deploy-pages action, they are working on the fix and will soon patch with the release.
keep an eye on https://enterprise.github.com/releases/ for the next release
from deploy-pages.
Can you confirm GitHub Pages is enabled for the repository?
from deploy-pages.
@yoannchaudet thanks for your reply.
yes github pages is enabled for the repository and i have noticed the action fails in the following method
async function getPagesDeploymentStatus({ githubToken, deploymentId }) {
const octokit = github.getOctokit(githubToken)
core.info('Getting Pages deployment status...')
try {
const response = await octokit.request('GET /repos/{owner}/{repo}/pages/deployment/status/{deploymentId}', {
owner: github.context.repo.owner,
repo: github.context.repo.repo,
deploymentId
})
return response.data
} catch (error) {
core.error('Getting Pages deployment status failed', error)
throw error
}
}
I assume the rest endpoint being called here is incorrect. See the docs for GHES v3.8 GitHub Pages deployment
from deploy-pages.
Also seeing this for GHES 3.8
from deploy-pages.
I have tried using postman to call the following endpoint
/repos/{owner}/{repo}/pages/deployment/status/{deploymentId}
and i get the following response.
{
"status": "deployment_lost"
}
The deployment creation works fine but somehow the pipeline fails to fetch the deployment status
from deploy-pages.
I have the same issue with GitHub Enterprise Server 3.7.8
how could this be solved? Any suggestion?
from deploy-pages.
I wonder if this is related to #168 as we have this error with the v1 and the error mentioned in #168 with v2.
Github pages is enabled. We used v1 up until this point, but it started failing around the 23rd of March for us.
from deploy-pages.
The fix is released https://docs.github.com/en/[email protected]/admin/release-notes
from deploy-pages.
That's correct, GHES release 3.8.3
contains a bug fix for the deployment_lost
scenario (which was an issue from beyond this action's boundaries).
from deploy-pages.
Related Issues (20)
- Bump to V4 broke the deploy step HOT 9
- Remove requirement for `actions: read` permission HOT 1
- Unhelpful Error HOT 5
- Page Deployment Failing Periodically with Timeouts since Upgrade to v4 HOT 1
- Getting "Fetching artifact metadata failed." HOT 3
- Confusing error when trying to deploy Rust docs HOT 6
- CNAME file doesn't work to set custom domain
- Error: No artifacts named "github-pages" were found for this workflow run. HOT 5
- Deploy to another repository HOT 2
- GitHub Enterprise Server 3.11.5 compatibility HOT 6
- Deployment protection rules seem to be ignored HOT 1
- 502 error on github enterprise HOT 3
- More clarity on id-token: write HOT 11
- Artifact could not be deployed; no symlinks or hard links, small size HOT 1
- When the preview feature will be available
- Allow deploy by artifact_id
- Problem in page deployment with vuejs vite to github page HOT 8
- Value 'github-pages' is not valid HOT 3
- Astro Site: Please ensure the content does not contain any hard links, symlinks and total size is less than 10GB HOT 2
- Feature request: Partial upload/deploy
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deploy-pages.