Skip to content

Manual Production Deployment #48

Manual Production Deployment

Manual Production Deployment #48

Workflow file for this run

name: Manual Production Deployment
on:
workflow_dispatch:
inputs:
confirmProdDeploy:
type: boolean
description: "Confirm deployment to production"
required: true
default: false
deployTag:
type: string
description: "Tag to deploy to production (optional)"
required: false
jobs:
deploy:
runs-on: ubuntu-latest
env:
AWS_REGION: eu-west-1
steps:
- name: Echo Inputs
run: |
echo "Confirm Production Deploy: ${{ github.event.inputs.confirmProdDeploy }}"
echo "Deploy Tag: ${{ github.event.inputs.deployTag }}"
- name: Checkout code
uses: actions/[email protected]
- name: Execute Production Deployment Script
run: bash deploy/deploy_prod.sh ${{ github.event.inputs.deployTag }}
env:
CONFIRM_DEPLOY: ${{ github.event.inputs.confirmProdDeploy }}
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ env.AWS_REGION }}