Skip to content

Commit

Permalink
add .env process
Browse files Browse the repository at this point in the history
  • Loading branch information
tinydjp committed Sep 20, 2024
1 parent 23a58ae commit 335dd00
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@ jobs:
steps:
- name: Git clone the repository
uses: actions/checkout@v4
- name: Create .env file from secret
run: |
echo "${{ secrets.ENV_CONTENTS }}" > .env
- name: Build image
env:
BUILD_ARG: ${{ github.ref_name }}
run: |
docker build -t vota-bridge-ui:local -f Dockerfile .
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@master
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ROLE }}
aws-region: ap-southeast-1
Expand Down

0 comments on commit 335dd00

Please sign in to comment.