Skip to content

Commit

Permalink
chore: added jinja2 render (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
eedygreen authored Jan 26, 2023
1 parent 80f0c65 commit 2731c1c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/deploy_stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ jobs:
repository: sygmaprotocol/devops
token: ${{ secrets.GHCR_TOKEN }}

- name: render jinja2 templates to task definition json files
uses: cuchi/[email protected]
with:
template: 'relayers/ecs/task_definition-${{ env.ENVIRONMENT }}.j2'
output_file: 'relayers/ecs/task_definition-${{ matrix.relayer_id }}_${{ env.ENVIRONMENT }}.json'
data_format: json
variables: |
relayerId=${{ matrix.relayer_id }}
awsAccountId=${{ env.AWS_STAGE }}
awsRegion=${{ env.AWS_REGION }}
- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@v1
Expand Down

0 comments on commit 2731c1c

Please sign in to comment.