Skip to content

VED-811 (Child of VED-720) Refactor PR and Release pipelines to move to GH Actions #15

VED-811 (Child of VED-720) Refactor PR and Release pipelines to move to GH Actions

VED-811 (Child of VED-720) Refactor PR and Release pipelines to move to GH Actions #15

name: PR Deploy and Test
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
deploy-pr-envs:
strategy:
matrix:
apigee_environment_name: [internal-dev, internal-dev-sandbox]
uses: ./.github/workflows/deploy-backend.yml
with:
apigee_environment: ${{ matrix.apigee_environment_name }}
create_mns_subscription: true
environment: dev
sub_environment: pr-${{github.event.pull_request.number}}
secrets:
APIGEE_PASSWORD: ${{ secrets.APIGEE_PASSWORD }}
APIGEE_BASIC_AUTH_TOKEN: ${{ secrets.APIGEE_BASIC_AUTH_TOKEN }}
APIGEE_OTP_KEY: ${{ secrets.APIGEE_OTP_KEY }}
STATUS_API_KEY: ${{ secrets.STATUS_API_KEY }}