ixartz / Astro-boilerplate

🚀 Astro boilerplate with responsive blog and portfolio template using TypeScript and React styled with Tailwind CSS ⚡️ Made with developer experience first: TypeScript + ESLint + Prettier + Husky + Lint-Staged + Commitlint + VSCode

Home Page:https://creativedesignsguru.com/demo/astro-boilerplate/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Images are not displayed when deploying to GitHub Pages through Actions

ironcutter24 opened this issue · comments

I'm using the official Astro workflow for GitHub Action.
Build and deployment jobs are both completed with no errors.

When accessing the deployed page no images are displayed, and in the browser console a 404 error is logged for each of them.

Images not loading:
Screenshot 2023-12-27 214425

Errors in browser console:
Screenshot 2023-12-27 214557

I don't have any experience working with GitHub Page and GitHub Actions using this template. Technically, you should have any issue using GitHub Page. All static hosting provided should be supported.

As a workaround, I would suggest to use Netlify: https://github.com/ixartz/Astro-boilerplate#deploy-to-netlify. I have tested myself

Still no luck with GitHub Pages, but I got it working on Netlify. Thank you!