Deploy DEV #2
Workflow file for this run
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 DEV | |
on: | |
workflow_dispatch: | |
inputs: | |
branch: | |
description: Branch to deploy | |
required: true | |
concurrency: deploy-dev | |
env: | |
DOCKER_BUILDKIT: '1' | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
deploy_dev: | |
name: 04-deploy-dev.sh | |
permissions: | |
packages: read | |
id-token: write | |
contents: write | |
runs-on: 'ubuntu-24.04' | |
steps: | |
- uses: actions/checkout@v4.2.1 | |
- name: Checkout all branches and tags with full history | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ inputs.branch }} | |
fetch-depth: 0 | |
- name: Configure dev AWS credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: ${{ secrets.AWS_AOE_DEV_ROLE_ARN }} | |
role-session-name: aoe-runner-deploy-dev | |
aws-region: eu-west-1 | |
- name: Deploy DEV | |
run: ./deploy-scripts/04-deploy-dev.sh | |