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

Pages successfully deployed but the opening the link presents a 404 #373

Open
tking16 opened this issue Sep 19, 2024 · 2 comments
Open

Pages successfully deployed but the opening the link presents a 404 #373

tking16 opened this issue Sep 19, 2024 · 2 comments

Comments

@tking16
Copy link

tking16 commented Sep 19, 2024

Apologies I'm not too well versed with Github pages so may have made some obvious errors. I'm trying to push a html report from an Appium test run onto our orgs private pages repo. The folder I'm trying to upload looks as follows (it's a .tar):
Screenshot 2024-09-19 at 12 30 40

As mentioned though I'm just getting 404 not found when trying to access the link. I'll post just the reporting job below:

report job YAML
  reporting:
    if: always()
    needs: test
    name: Put report onto GH pages
    permissions:
      pages: write # to deploy to Pages
      id-token: write # to verify the deployment originates from an appropriate source
    environment:
      name: mobile-test-reports
      url: ${{ steps.deployment.outputs.page_url }}ios-report
    runs-on: ubuntu-latest
    steps:
      - name: Deploy to GitHub Pages
        id: deployment
        uses: actions/deploy-pages@v4.0.5


      - name: Display URL to report
        run: echo '## [Test Report] ('${{ steps.deployment.outputs.page_url }}')' >> $GITHUB_STEP_SUMMARY

Output from job status

Run actions/deploy-pages@v4.0.5
Fetching artifact metadata for "github-pages" in this workflow run
Found 1 artifact(s***
Creating Pages deployment with payload:
{
	"artifact_id": 1952676[30](https://github.com/global-digital-dev/guacamole/actions/runs/10939969440/job/30371396627#step:2:31)6,
	"pages_build_version": "843e4097e3d59d74c555e6a753713046e11743b7",
	"oidc_token": "***"
}
Created deployment for 843e4097e3d59d74c555e6a753713046e11743b7, ID: 843e4097e3d59d74c555e6a753713046e11743b7
Getting Pages deployment status...
Reported success!

Thanks in advance for the help and let me know if you need more info

@tking16
Copy link
Author

tking16 commented Sep 19, 2024

@AhmadMahmoodRana nice try

@github-staff github-staff deleted a comment from AhmadMahmoodRana Sep 25, 2024
@tranan89
Copy link

I have also started getting 404 with another action, it stopped working a few weeks ago.

I think it is a change on GHs end, see https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site
And this part: "Commits pushed by a GitHub Actions workflow that uses the GITHUB_TOKEN do not trigger a GitHub Pages build."

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

No branches or pull requests

2 participants