Skip to content

Commit

Permalink
change echo command for prod config values (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
igiai authored Sep 15, 2023
1 parent 3328e80 commit b71253d
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,8 @@ jobs:
env:
DB_SOURCE: ${{ secrets.DB_SOURCE }}
TOKEN_SYMMETRIC_KEY: ${{ secrets.TOKEN_SYMMETRIC_KEY }}
run: echo "DB_DRIVER=postgres
DB_SOURCE=${DB_SOURCE}
SERVER_ADDRESS=0.0.0.0:8080
TOKEN_SYMMETRIC_KEY=${TOKEN_SYMMETRIC_KEY}
ACCESS_TOKEN_DURATION=15m" > app.env
run:
echo "DB_DRIVER=postgres\nDB_SOURCE=${DB_SOURCE}\nSERVER_ADDRESS=0.0.0.0:8080\nTOKEN_SYMMETRIC_KEY=${TOKEN_SYMMETRIC_KEY}\nACCESS_TOKEN_DURATION=15m" > app.env
- name: Build, tag, and push docker image to Amazon ECR
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
Expand Down

0 comments on commit b71253d

Please sign in to comment.