File tree 2 files changed +8
-2
lines changed
.github/actions/deploy-to-control-plane
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,13 @@ ENV RAILS_ENV=production \
63
63
64
64
RUN yarn res:build
65
65
RUN bin/rails react_on_rails:locale
66
- RUN bin/rails assets:precompile
67
66
68
67
68
+ # Precompile assets and remove build dependencies
69
+ # Note, if you have some Node.js programs, you need to install those in a different
70
+ # directory so you don't delete them here.
71
+ RUN bin/rails assets:precompile && rm -rf lib/bs && rm -rf node_modules
72
+
69
73
ENTRYPOINT ["./.controlplane/entrypoint.sh" ]
70
74
71
75
CMD ["./bin/rails" , "server" ]
Original file line number Diff line number Diff line change 59
59
shell : bash
60
60
run : |
61
61
cpln image docker-login
62
- BUILDKIT_PROGRESS=plain cpl build-image -a ${{ inputs.app_name }} --commit ${{steps.vars.outputs.sha_short}} --org ${{inputs.org}}
62
+ # Use BUILDKIT_PROGRESS=plain to get more verbose logging of the build
63
+ # BUILDKIT_PROGRESS=plain cpl build-image -a ${{ inputs.app_name }} --commit ${{steps.vars.outputs.sha_short}} --org ${{inputs.org}}
64
+ cpl build-image -a ${{ inputs.app_name }} --commit ${{steps.vars.outputs.sha_short}} --org ${{inputs.org}}
63
65
# --cache /tmp/.docker-cache
64
66
- name : Deploy to Control Plane
65
67
shell : bash
You can’t perform that action at this time.
0 commit comments