-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (34 loc) · 953 Bytes
/
Copy pathdeploy-app.yaml
File metadata and controls
37 lines (34 loc) · 953 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
30
31
32
33
34
35
36
37
name: deploy-app
# Deploy callee for the two-env topology. Kept minimal: the callback-security
# postures under test ride on the build callbacks, which fire on every
# orchestrate run. This deploy exists so the repo has a valid staging/prod
# promote chain.
on:
workflow_call:
inputs:
environment:
required: false
type: string
sha:
required: false
type: string
version:
required: false
type: string
dry_run:
required: false
type: boolean
default: false
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Stub deploy-app
env:
ENVIRONMENT: ${{ inputs.environment }}
SHA: ${{ inputs.sha }}
VERSION: ${{ inputs.version }}
DRY_RUN: ${{ inputs.dry_run }}
run: |
echo "deploy-app environment=${ENVIRONMENT} sha=${SHA} version=${VERSION} dry_run=${DRY_RUN}"
sleep 2