Skip to content

Commit 1b2a191

Browse files
committed
ci: Run app deployment workflows from external repositories.
1 parent 738f3fa commit 1b2a191

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/deploy-app.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
description: Application to deploy.
88
required: true
99
type: string
10+
distinct_id:
11+
description: Distinct ID for this execution, used for tracking.
12+
required: false
13+
type: string
1014
environment:
1115
description: Environment to deploy to.
1216
default: development
@@ -26,6 +30,10 @@ jobs:
2630
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
2731
AWS_REGION: ${{ vars.AWS_REGION || 'us-east-1' }}
2832
steps:
33+
- name: distinct ID ${{ inputs.distinct_id || github.run_id }}
34+
uses: imesense/gha-echo-action@v0.2
35+
with:
36+
input-string: ${{ inputs.distinct_id || github.run_id }}
2937
- name: Checkout code
3038
uses: actions/checkout@v4
3139
- name: Set up AWS credentials

0 commit comments

Comments
 (0)