Skip to content

Deploy Review App to Control Plane #31

Deploy Review App to Control Plane

Deploy Review App to Control Plane #31

# Control Plane GitHub Action
name: Deploy Review App to Control Plane
# Controls when the workflow will run
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Convert the GitHub secret variables to environment variables for use by the Control Plane CLI
env:
CPLN_ORG: ${{secrets.CPLN_ORG_STAGING}}
CPLN_TOKEN: ${{secrets.CPLN_TOKEN_STAGING}}
jobs:
deploy-to-control-plane-staging:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- uses: ./.github/actions/deploy-to-control-plane
with:
app_name: qa-react-webpack-rails-tutorial-pr-${{ github.event.pull_request.number }}
org: ${{ secrets.CPLN_ORG_STAGING }}