Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 791 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 791 Bytes

Blog Frontend

image

kubectl create -n blog secret generic blog-frontend \
  --from-literal=predender-token=${PRERENDER_TOKEN} \
  --dry-run -o yaml > k8s/blog-frontend-secret.yml
export REACT_APP_BLOG_API=https://blog-api.ik.am
export REACT_APP_BLOG_UI=https://blog.ik.am
BOOT_VERSION=$(grep '<version>' pom.xml | head -n 1 | sed -e 's|<version>||g' -e 's|</version>||g' -e 's|<.*>||g' -e 's| ||g')
./mvnw clean package -Dspring-boot.version=${BOOT_VERSION} -DskipTests=true  && ./build-image.sh 

kbld -f k8s | kubectl apply -f -