Skip to content

cf: poja-base --> poja-sqlite #9

cf: poja-base --> poja-sqlite

cf: poja-base --> poja-sqlite #9

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