Skip to content

Commit 68c22cc

Browse files
committed
provision the appˆ
1 parent e043485 commit 68c22cc

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.controlplane/readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export APP_NAME=react-webpack-rails-tutorial
6363

6464
# Provision all infrastructure on Control Plane.
6565
# 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
6767

6868
# Build and push docker image to Control Plane repository
6969
# Note, may take many minutes. Be patient.

.github/actions/deploy-to-control-plane/action.yml

+9
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,15 @@ runs:
4949
${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile', '**/package.json', '**/yarn.lock') }}
5050
${{ runner.os }}-docker-
5151
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+
5261
- name: cpl build-image
5362
shell: bash
5463
run: |

0 commit comments

Comments
 (0)