Skip to content

Commit

Permalink
Creates .env with cat command
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoFerraz committed Mar 3, 2024
1 parent 775ba3e commit 30b28c1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ecr-build-and-push-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,8 @@ jobs:
id: login-ecr
uses: aws-actions/amazon-ecr-login@v2 # https://github.com/marketplace/actions/amazon-ecr-login-action-for-github-actions

- uses: "finnp/create-file-action@master"
env:
FILE_NAME: ".env"
FILE_DATA: ${{ secrets.DOT_ENV }}
- name: Create .env file
run: cat ${{ secrets.DOT_ENV }} > .env

- name: Build and export
id: docker-build
Expand Down

0 comments on commit 30b28c1

Please sign in to comment.