Frontend Demo Server
Build Image by trigger Github Action​
- Switch to deploy branch by
git switch deploy
- Merge from main branch by
git merge main
- Push to
deploy
usinggit push
branch will triggerbuild_push_image
workflow - The image will be pushed to GHCR
Pull Image in GCP and Run Container​
- SSH to GCP instance
gcloud compute ssh <instance-name>
cd ..
to go to home directoryPull the latest image from GHCR
sudo docker-compose -f docker-compose-frontend.yaml pull
- Start the container
sudo docker-compose -f docker-compose-frontend.yaml -p settle-aid up -d
- Access the container using
sudo docker exec -it <frontend-container-id> bash
- Login to expo using
npx expo login