Skip to content

cd: efs

cd: efs #4

Workflow file for this run

name: CD compute
on:
push:
branches:
- 'prod'
- 'preprod'
workflow_dispatch:
workflow_call:
jobs:
deploy-api:
if: ${{ github.ref_name == 'prod' || github.ref_name == 'preprod' }}
runs-on: ubuntu-latest
timeout-minutes: 15
env:
AWS_REGION: eu-west-3
steps:
- uses: actions/[email protected]
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'
- uses: hei-school/[email protected]
with:
secrets: ${{ toJSON(secrets) }}
region: ${{ env.AWS_REGION }}
- run: sam build
- name: Deploy application
run: sam deploy --no-confirm-changeset --no-fail-on-empty-changeset --stack-name ${{ github.ref_name }}-compute-poja-base --capabilities CAPABILITY_IAM --parameter-overrides Env=${{ github.ref_name }} --resolve-s3