Browse Source

Checkout infra code to run workflow

pull/2055/head
Rachael Booth 3 years ago
parent
commit
d017cebeb8
  1. 18
      .github/workflows/review_pipeline.yml

18
.github/workflows/review_pipeline.yml

@ -10,6 +10,9 @@ on:
- synchronize - synchronize
- reopened - reopened
workflow_dispatch: workflow_dispatch:
push:
branches:
- AwsReviewApps
defaults: defaults:
run: run:
@ -17,7 +20,20 @@ defaults:
jobs: jobs:
infra: infra:
name: Deploy review app infrastructure - TODO name: Deploy review app infrastructure
runs-on: ubuntu-latest
steps:
- name: Checkout infrastructure code
uses: actions/checkout@v3
with:
repository: communitiesuk/submit-social-housing-lettings-and-sales-data-infrastructure
ref: ReviewAppsDeploy
- name: Create review app infra
uses: communitiesuk/submit-social-housing-lettings-and-sales-data-infrastructure/.github/workflows/create_review_app_infra.yml@ReviewAppsDeploy
with:
key: ${{ github.event.pull_request.number }}
code: code:
name: Deploy review app code name: Deploy review app code

Loading…
Cancel
Save