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

Images not showing when deployed gatsby to gh pages #82

Open
adcoding opened this issue Feb 17, 2023 · 0 comments
Open

Images not showing when deployed gatsby to gh pages #82

adcoding opened this issue Feb 17, 2023 · 0 comments

Comments

@adcoding
Copy link

adcoding commented Feb 17, 2023

Images are there but blurred with a 404 error in console.

https://lentsius-bark.github.io/krystof-klestil/blog/url-of-the-post/

publish.yml

on:
  push:
    branches:
      - master

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-node@v3
        with:
          node-version: 18
      - uses: enriikke/gatsby-gh-pages-action@v2
        with:
          access-token: ${{ secrets.******* }}
          deploy-branch: gh-pages
          gatsby-args: --prefix-paths

The blog build goes in the gh-pages branch and in the master branch I have the blog. Does it make sense?

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

1 participant