Skip to content

cli=13.7.1

cli=13.7.1 #57

name: CD storage bucket
on:
push:
branches:
- 'prod'
- 'preprod'
workflow_dispatch:
jobs:
cd-storage:
if: github.ref_name == 'prod' || github.ref_name == 'preprod'
runs-on: ubuntu-latest
timeout-minutes: 20
env:
AWS_REGION: eu-west-3
steps:
- uses: actions/[email protected]
- uses: hei-school/[email protected]
with:
secrets: ${{ toJSON(secrets) }}
region: ${{ env.AWS_REGION }}
- name: Deploy bucket stack
uses: aws-actions/aws-cloudformation-github-deploy@v1
with:
name: ${{ github.ref_name }}-bucket-poja-sqlite
template: cf-stacks/storage-bucket-stack.yml
tags: "[ { \"Key\": \"app\", \"Value\": \"poja-sqlite\" }, { \"Key\": \"env\", \"Value\": \"${{ github.ref_name }}\" }, { \"Key\": \"user:poja\", \"Value\": \"poja-sqlite\" } ]"
capabilities: CAPABILITY_NAMED_IAM
no-fail-on-empty-changeset: "1"
parameter-overrides:
"Env=${{ github.ref_name }}"