File tree 2 files changed +10
-1
lines changed
.github/actions/deploy-to-control-plane
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ export APP_NAME=react-webpack-rails-tutorial
63
63
64
64
# Provision all infrastructure on Control Plane.
65
65
# app react-webpack-rails-tutorial will be created per definition in .controlplane/controlplane.yml
66
- cpl apply-template gvc postgres redis rails daily-task -a $APP_NAME
66
+ cpl setup-app -a $APP_NAME
67
67
68
68
# Build and push docker image to Control Plane repository
69
69
# Note, may take many minutes. Be patient.
Original file line number Diff line number Diff line change 49
49
${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile', '**/package.json', '**/yarn.lock') }}
50
50
${{ runner.os }}-docker-
51
51
52
+ - name : cpl setup-app
53
+ shell : bash
54
+ run : |
55
+ if ! cpl exists -a $APP_NAME; then
56
+ cpl setup-app -a $APP_NAME
57
+ fi
58
+ # Provision all infrastructure on Control Plane.
59
+ # app react-webpack-rails-tutorial will be created per definition in .controlplane/controlplane.yml
60
+
52
61
- name : cpl build-image
53
62
shell : bash
54
63
run : |
You can’t perform that action at this time.
0 commit comments