Code Monkey home page Code Monkey logo

Comments (9)

daibrahi avatar daibrahi commented on May 27, 2024 3

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.

yoannchaudet avatar yoannchaudet commented on May 27, 2024

Can you confirm GitHub Pages is enabled for the repository?

from deploy-pages.

daibrahi avatar daibrahi commented on May 27, 2024

@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.

SirensOfTitan avatar SirensOfTitan commented on May 27, 2024

Also seeing this for GHES 3.8

from deploy-pages.

daibrahi avatar daibrahi commented on May 27, 2024

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.

GuBee33 avatar GuBee33 commented on May 27, 2024

I have the same issue with GitHub Enterprise Server 3.7.8
how could this be solved? Any suggestion?

from deploy-pages.

jtietema avatar jtietema commented on May 27, 2024

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.

daibrahi avatar daibrahi commented on May 27, 2024

The fix is released https://docs.github.com/en/[email protected]/admin/release-notes

from deploy-pages.

JamesMGreene avatar JamesMGreene commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.