ci(deploy): Add an initial deploy workflow to test off of #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
with: | ||
environment: ${{ inputs.environment }} | ||
version: ${{ inputs.version }} | ||
secrets: inherit |