To deploy the Adomin frontend, you will need to:
- run
yarn build
with correct VITE_API_URL env variable set
- copy dist folder to your static files service
- serve those files with a rule for SPAs (e.g. serving the index.html on 404)
S3 / Cloudfront
Github action for S3 / Cloudfront
Caddy
Example of Caddy config to serve a SPA
Github action for Caddy
Nginx
I don’t want to deal with nginx anymore, but if you want to, you can find inspiration here