Browse Source

CLDC-4263: rename label

CLDC-4236-deploy-review-apps-manually-2
Nat Dean-Lewis 2 days ago
parent
commit
676a92cbad
  1. 2
      .github/workflows/review_app_hint.yml
  2. 6
      .github/workflows/review_pipeline.yml

2
.github/workflows/review_app_hint.yml

@ -19,5 +19,5 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: 'To deploy a review app for this PR, add the `deploy-review` label.',
body: 'To deploy a review app for this PR, add the `review-app` label.',
});

6
.github/workflows/review_pipeline.yml

@ -18,7 +18,7 @@ defaults:
jobs:
infra:
name: Deploy review app infrastructure
if: contains(github.event.pull_request.labels.*.name, 'deploy-review')
if: contains(github.event.pull_request.labels.*.name, 'review-app')
uses: communitiesuk/submit-social-housing-lettings-and-sales-data-infrastructure/.github/workflows/create_review_app_infra.yml@main
with:
key: ${{ github.event.pull_request.number }}
@ -28,7 +28,7 @@ jobs:
code:
name: Deploy review app code
if: contains(github.event.pull_request.labels.*.name, 'deploy-review')
if: contains(github.event.pull_request.labels.*.name, 'review-app')
needs: [infra]
uses: ./.github/workflows/aws_deploy.yml
with:
@ -42,7 +42,7 @@ jobs:
comment:
name: Add link to PR
if: contains(github.event.pull_request.labels.*.name, 'deploy-review')
if: contains(github.event.pull_request.labels.*.name, 'review-app')
needs: [code]
runs-on: ubuntu-latest
permissions:

Loading…
Cancel
Save