Skip to content

Commit b65295c

Browse files
authored
Merge pull request #110 from MITLibraries/final-workflows
Stage/Prod GitHub Actions Workflows
2 parents ce7f40e + bb0b19d commit b65295c

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

.github/workflows/prod-promote.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
### This is the Terraform-generated prod-promote.yml workflow for the alma-sapinvoices-ui-prod repository. ###
2+
### If this is a Lambda repo, uncomment the FUNCTION line at the end of the document. ###
3+
name: Prod Container Promote
4+
on:
5+
workflow_dispatch:
6+
release:
7+
types: [published]
8+
9+
jobs:
10+
deploy:
11+
name: Prod Container Promote
12+
uses: mitlibraries/.github/.github/workflows/ecr-shared-promote-prod.yml@main
13+
secrets: inherit
14+
with:
15+
AWS_REGION: "us-east-1"
16+
GHA_ROLE_STAGE: alma-sapinvoices-ui-gha-stage
17+
GHA_ROLE_PROD: alma-sapinvoices-ui-gha-prod
18+
ECR_STAGE: "alma-sapinvoices-ui-stage"
19+
ECR_PROD: "alma-sapinvoices-ui-prod"
20+
FUNCTION: "alma-sapinvoices-ui-prod"
21+

.github/workflows/stage-build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
### This is the Terraform-generated dev-build.yml workflow for the alma-sapinvoices-ui-stage app repository ###
2+
### If this is a Lambda repo, uncomment the FUNCTION line at the end of the document ###
3+
### If the container requires any additional pre-build commands, uncomment and edit ###
4+
### the PREBUILD line at the end of the document. ###
5+
name: Stage Container Build and Deploy
6+
on:
7+
workflow_dispatch:
8+
push:
9+
branches:
10+
- main
11+
paths-ignore:
12+
- '.github/**'
13+
14+
jobs:
15+
deploy:
16+
name: Stage Container Deploy
17+
uses: mitlibraries/.github/.github/workflows/ecr-shared-deploy-stage.yml@main
18+
secrets: inherit
19+
with:
20+
AWS_REGION: "us-east-1"
21+
GHA_ROLE: "alma-sapinvoices-ui-gha-stage"
22+
ECR: "alma-sapinvoices-ui-stage"
23+
FUNCTION: "alma-sapinvoices-ui-stage"
24+
# PREBUILD:

0 commit comments

Comments
 (0)