Atri-Labs / atrilabs-engine

🧘‍♂️ Open-source no-code & code web app builder
https://atrilabs.com
GNU General Public License v3.0
4.12k stars 182 forks source link

Image src not updated on the first run of `atri build ssg` #205

Open darshitac11 opened 2 years ago

darshitac11 commented 2 years ago

While deploying to GH pages using atri build ssg command, the image source is not updated. E.g. the image source should be updated to include repository name such as "src": "/<reponame>/app-assets/<image.jpeg>". Instead we get "src": "/app-assets/<image.jpeg>"

This is fixed when the same command is run again.

Jitulteron7 commented 2 years ago

@darshitac11 mam is there any relevant discussion for this issue

darshitac11 commented 2 years ago

@Jitulteron7 - It's not a good first issue. Hence, there is no discussion on this topic.

We have a CLI for easy deployment of your static website which seems to be showing unexpected behavior on the first run. You can learn about the CLI here - https://docs.atrilabs.com/deploy-app/deploy-ghpages/