Skip to content

Commit 9c8053c

Browse files
SRAlexanderScott Alexander
andauthored
Task prmdr 2 4 (#10)
* workflow configurations to older actions to include tagging * filename changes and title updates --------- Co-authored-by: Scott Alexander <[email protected]>
1 parent 84e8c33 commit 9c8053c

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/lambdas-deploy-to-prod-manual.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
name: "Lambdas - Deploy Main Branch to Prod"
1+
name: "Lambdas - Deploy tagged version to Prod"
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
tagVersion:
7+
description: "What tagged verison do you want to push to prod?"
8+
required: true
9+
type: "string"
510

611
permissions:
712
pull-requests: write
@@ -23,7 +28,7 @@ jobs:
2328
- name: Checkout
2429
uses: actions/checkout@v3
2530
with:
26-
ref: main
31+
ref: ${{ github.event.inputs.tagVersion}}
2732

2833
- name: Set up Python ${{ matrix.python-version }}
2934
uses: actions/setup-python@v4
@@ -56,7 +61,7 @@ jobs:
5661
- name: Checkout
5762
uses: actions/checkout@v3
5863
with:
59-
ref: main
64+
ref: ${{ github.event.inputs.tagVersion}}
6065

6166
- name: Configure AWS Credentials
6267
uses: aws-actions/configure-aws-credentials@v2
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)