Update deploy-dev.yaml
All checks were successful
Deploy FitLien services to Dev / Deploy to Dev (push) Successful in 20s
All checks were successful
Deploy FitLien services to Dev / Deploy to Dev (push) Successful in 20s
This commit is contained in:
parent
853dd0e1e0
commit
dcee3e6af9
@ -25,7 +25,7 @@ jobs:
|
||||
- name: Copy .env.example to .env
|
||||
run: cp functions/.env.example functions/.env
|
||||
|
||||
- name: Replace MAILGUN_API_KEY in .env
|
||||
- name: Replace variables in .env
|
||||
run: |
|
||||
sed -i "s/#{MAILGUN_API_KEY}#/${{ secrets.MAILGUN_API_KEY }}/" functions/.env
|
||||
sed -i "s/#{MAILGUN_SERVER}#/${{ secrets.MAILGUN_SERVER }}/" functions/.env
|
||||
@ -41,3 +41,5 @@ jobs:
|
||||
sed -i "s/#{AWS_SECRET_ACCESS_KEY}#/${{ secrets.AWS_SECRET_ACCESS_KEY }}/" functions/.env
|
||||
sed -i "s/#{AWS_REGION}#/${{ secrets.AWS_REGION }}/" functions/.env
|
||||
cat functions/.env
|
||||
- name: "Replace #{SERVICES_RGN}# in all .ts files"
|
||||
run: find . -type f -name "*.ts" -exec sed -i "s/#{SERVICES_RGN}#/${{ vars.SERVICES_RGN }}/g" {} +
|
||||
|
||||
Loading…
Reference in New Issue
Block a user