diff --git a/.github/workflows/cd-dev.yaml b/.github/workflows/cd-dev.yaml index 5e6738f1d..d7264ca16 100644 --- a/.github/workflows/cd-dev.yaml +++ b/.github/workflows/cd-dev.yaml @@ -31,8 +31,9 @@ jobs: echo "sha_short=$(git rev-parse --short ${{ github.sha }})" >> $GITHUB_OUTPUT build-push: - uses: ./.github/workflows/cd.yaml + name: Build and Push Images needs: [compute-sha] + uses: ./.github/workflows/cd.yaml with: tag: ${{ needs.compute-sha.outputs.sha_short }} secrets: inherit diff --git a/Dockerfile b/Dockerfile index 49cc3221c..3c5647823 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,5 +41,4 @@ WORKDIR /frontend RUN ["turbo", "run", "build", "--filter=frontend", "--env-mode=loose"] -COPY /apps/frontend/dist ./apps/frontend/dist ENTRYPOINT ["turbo", "run", "start", "--filter=frontend"] diff --git a/infra/init.sh b/infra/init.sh index 2ea8f1661..b179e19c4 100755 --- a/infra/init.sh +++ b/infra/init.sh @@ -72,7 +72,7 @@ helm install bt-dev-redis ./redis --namespace=bt \ helm install bt-dev-app ./app --namespace=bt \ --set env=dev \ - --set ttl=86400 \ + --set ttl=24 \ --set frontend.image.tag=dev1 \ --set backend.image.tag=dev1 \ --set host=dev1.stanfurdtime.com \