Skip to content

Commit

Permalink
adjust deploy file to use marketplace action
Browse files Browse the repository at this point in the history
  • Loading branch information
HarriPra committed Mar 14, 2024
1 parent 1ce02fe commit 4a1c6a1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/cross-repo-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
name: Trigger Deployment Workflow in CareObra

on:
pull_request:
types: [closed] #doublechec this meaning
on:
push:
branches:
- feature/LADO-1108-GenerateAutomaticChange

jobs:
trigger-deployment:
runs-on: ubuntu-latest
if: github.event.pull_request == true
steps:
- name: Trigger deployment in another repo
uses: ./.github/actions/repo-dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
repository: UKHSA-Internal/hpod-ukhsa-generate-webform-url-citizen # Replace target repository's name
Expand Down

0 comments on commit 4a1c6a1

Please sign in to comment.