Skip to content

Commit

Permalink
Merge pull request #96 from imperial/fix-deploy-set-env
Browse files Browse the repository at this point in the history
fix: use correct newline syntax in build.yml
  • Loading branch information
alexanderbira authored Aug 30, 2024
2 parents 714a4a5 + d564a78 commit 6cc7fcc
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,14 +137,11 @@ jobs:
run: |
tsuru app run "DATABASE_URL=postgres://\$PGUSER:\$PGPASSWORD@\$PGHOST:\$PGPORT/\$PGDATABASE npm exec prisma migrate deploy" -a cpp-connect
- name: Set environment variables
run: |
tsuru env set -a cpp-connect >
NEXTAUTH_URL=${{ vars.NEXTAUTH_URL }} >
EMAIL_SERVER_USER=${{ secrets.EMAIL_SERVER_USER }} >
EMAIL_SERVER_PASSWORD=${{ secrets.EMAIL_SERVER_PASSWORD }} >
EMAIL_SERVER_HOST=${{ secrets.EMAIL_SERVER_HOST }} >
EMAIL_SERVER_PORT=${{ secrets.EMAIL_SERVER_PORT }} >
run: >
tsuru env set -a cpp-connect
NEXTAUTH_URL=${{ vars.NEXTAUTH_URL }}
EMAIL_SERVER_USER=${{ secrets.EMAIL_SERVER_USER }}
EMAIL_SERVER_PASSWORD=${{ secrets.EMAIL_SERVER_PASSWORD }}
EMAIL_SERVER_HOST=${{ secrets.EMAIL_SERVER_HOST }}
EMAIL_SERVER_PORT=${{ secrets.EMAIL_SERVER_PORT }}
EMAIL_FROM=${{ secrets.EMAIL_FROM }}

0 comments on commit 6cc7fcc

Please sign in to comment.