generated from hmcts/service-hmcts-crime-springboot-template
-
Notifications
You must be signed in to change notification settings - Fork 1
27 lines (25 loc) · 780 Bytes
/
ci-draft.yml
File metadata and controls
27 lines (25 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Build and Publish (Non-Release)
on:
pull_request:
branches:
- master
- main
push:
branches:
- master
- main
jobs:
ci-draft:
uses: ./.github/workflows/ci-build-publish.yml
secrets:
AZURE_DEVOPS_ARTIFACT_USERNAME: ${{ secrets.AZURE_DEVOPS_ARTIFACT_USERNAME }}
AZURE_DEVOPS_ARTIFACT_TOKEN: ${{ secrets.AZURE_DEVOPS_ARTIFACT_TOKEN }}
HMCTS_ADO_PAT: ${{ secrets.HMCTS_CP_ADO_PAT }}
PACT_BROKER_TOKEN: ${{ secrets.PACT_BROKER_TOKEN }}
with:
is_publish: ${{ github.event_name == 'push' }}
trigger_docker: ${{ github.event_name == 'push' }}
trigger_deploy: ${{ github.event_name == 'push' }}
pacticipant: CPCourtScheduleProvider
pact_ignore: true
pact_env: dev/pactTest