- Installation
- How to build and deploy to production
- copy
.env.example
to.env
- copy
.env.example
to.env.production
- make sure the API_URL is set to
https://api.upy.moe
(not the local ip)
- make sure the API_URL is set to
yarn install
yarn dev
- go to
build
branchgit branch build git switch build
- build app
chmod +x ./build.sh ./build.sh
- now you can commit the
.output
foldergit add .output # force add if ignored by .gitignore: git add -f --add .output git commit -m "build" git push origin build
- it will automatically deployed by github action
- it's better to check the action log to make sure the deployment process is success and no error occured