Load encrypted env file on deployment
This commit is contained in:
parent
af256bfccc
commit
c70c0df464
|
|
@ -243,6 +243,10 @@ jobs:
|
|||
URL="${{ secrets.AMPLIFY_DEPLOY_URL }}"
|
||||
curl -X POST -d {} "$URL" -H "Content-Type: application/json"
|
||||
|
||||
- name: Created encrypted .env file before deployment
|
||||
run: |
|
||||
echo "${{ secrets.ENCRYPTED_ENV_FILE }}" >> .env.production.encrypted
|
||||
|
||||
- name: Deploy back-end to production
|
||||
run: php vendor/bin/vapor deploy api-production --commit="${GITHUB_SHA}" --message="${GITHUB_REF}"
|
||||
env:
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@
|
|||
.env.backup
|
||||
.env.testing
|
||||
.env.dusk.local
|
||||
.env.api-*
|
||||
.phpunit.result.cache
|
||||
.idea/*
|
||||
Homestead.json
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue