File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1313 name : 🏗️ Build
1414 runs-on : ubuntu-latest
1515 timeout-minutes : 30
16- environment : staging
1716 steps :
1817 - uses : actions/checkout@v4
1918 - env :
4544 runs-on : ubuntu-latest
4645 timeout-minutes : 30
4746 needs : [build]
48- environment : staging
4947 steps :
5048 - env :
5149 IMAGE_ID : ${{ needs.build.ouputs.IMAGE_ID }}
Original file line number Diff line number Diff line change @@ -44,13 +44,13 @@ COPY . .
4444RUN echo "$VERSION_TAG" > resources/version.txt
4545RUN echo "$CHANGELOG_MD" > resources/changelog.md
4646
47+ # Build the client-side application
48+ RUN npm run build-prod
49+
4750# So we can see which commit was used to build the container
4851# https://openfront.io/commit.txt
4952RUN echo "$GIT_COMMIT" > static/commit.txt
5053
51- # Build the client-side application
52- RUN npm run build-prod
53-
5454# Update worker_connections in the existing nginx.conf
5555RUN sed -i 's/worker_connections [0-9]*/worker_connections 8192/' /etc/nginx/nginx.conf
5656
You can’t perform that action at this time.
0 commit comments