-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (27 loc) · 960 Bytes
/
ci-draft.yml
File metadata and controls
29 lines (27 loc) · 960 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
28
29
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 }}
DEPLOYMENT_APP_ID: ${{ secrets.DEPLOYMENT_APP_ID }}
DEPLOYMENT_APP_PRIVATE_KEY: ${{ secrets.DEPLOYMENT_APP_PRIVATE_KEY }}
DEPLOYMENT_APP_INSTALLATION_ID: ${{ secrets.DEPLOYMENT_APP_INSTALLATION_ID }}
with:
environment: dev
is_publish: ${{ github.event_name == 'push' }}
trigger_docker: ${{ github.event_name == 'push' }}
trigger_deploy: ${{ github.event_name == 'push' }}
run_api_test: ${{ github.event_name == 'pull_request' }}
deploy_environment: dev