Skip to content

Commit

Permalink
ci(deploy): Add AWS deployment workflow (GH-1237)
Browse files Browse the repository at this point in the history
  • Loading branch information
433eros committed Feb 5, 2024
1 parent 7337639 commit 40168b1
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deploy_backend_to_aws.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 🚀 Deploy Web Backend to AWS

on:
workflow_dispatch:
inputs:
environment:
type: environment
default: 'learn.portal.staging.concord.org'
description: CloudFormation stack to deploy to
required: true
version:
default: ''
type: string
description: >-
Application version to deploy (defaults to latest pre-release/release version depending on if stack is a
staging or production environment)
env:
CONTAINER_IMAGE: ghcr.io/${{ github.repository }}
# To use GitHub CLI in a GitHub Actions workflow, set the GH_TOKEN environment variable.
GH_TOKEN: ${{ github.token }}

jobs:
deploy:
uses: ${{ github.repository_owner }}/lara/.github/workflows/deploy_backend_to_aws.yml@v2
with:
environment: ${{ inputs.environment }}
version: ${{ inputs.version }}
docker-image-template-key-prefix: Portal
secrets: inherit

0 comments on commit 40168b1

Please sign in to comment.