Skip to content

Commit

Permalink
provision the appˆ
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 committed Jan 22, 2024
1 parent e043485 commit 68c22cc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .controlplane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export APP_NAME=react-webpack-rails-tutorial

# Provision all infrastructure on Control Plane.
# app react-webpack-rails-tutorial will be created per definition in .controlplane/controlplane.yml
cpl apply-template gvc postgres redis rails daily-task -a $APP_NAME
cpl setup-app -a $APP_NAME

# Build and push docker image to Control Plane repository
# Note, may take many minutes. Be patient.
Expand Down
9 changes: 9 additions & 0 deletions .github/actions/deploy-to-control-plane/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,15 @@ runs:
${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile', '**/package.json', '**/yarn.lock') }}
${{ runner.os }}-docker-
- name: cpl setup-app
shell: bash
run: |
if ! cpl exists -a $APP_NAME; then
cpl setup-app -a $APP_NAME
fi
# Provision all infrastructure on Control Plane.
# app react-webpack-rails-tutorial will be created per definition in .controlplane/controlplane.yml

- name: cpl build-image
shell: bash
run: |
Expand Down

0 comments on commit 68c22cc

Please sign in to comment.