-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1206 from hackforla/1099-v1-contact-us-form-not-w…
…orking-on-live-site-dev Add GitHub/SendGrid config info to .env file for create_release_dev.yml, partially fixing #1099
- Loading branch information
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,9 @@ on: | |
branches: | ||
- dev | ||
paths: | ||
- 'server/api/**' | ||
- "server/api/**" | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
name: Create Docker Image | ||
|
@@ -13,11 +15,15 @@ jobs: | |
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Get branch name | ||
uses: nelonoel/[email protected] | ||
uses: nelonoel/[email protected] | ||
- name: Setup environment | ||
run: | | ||
echo GITHUB_CODE_VERSION=${{ env.BRANCH_NAME }} >> server/api/.env | ||
echo GITHUB_SHA=${{ github.sha }} >> server/api/.env | ||
echo GITHUB_TOKEN=${{ secrets.GH_ISSUES_TOKEN }} >> server/api/.env | ||
echo GITHUB_PROJECT_URL=${{ secrets.GH_PROJECT_URL }} >> server/api/.env | ||
echo GITHUB_ISSUES_URL=https://api.github.com/repos/hackforla/311-data-support/issues >> server/api/.env | ||
echo SENDGRID_API_KEY=${{ secrets.SENDGRID_API_KEY }} >> server/api/.env | ||
echo DEBUG=True >> server/api/.env | ||
echo DB_ECHO=True >> server/api/.env | ||
echo API_ALLOWED_ORIGINS=[https://dev.311-data.org,http://localhost:3000,https://311-data.matt-webster.net] >> server/api/.env | ||
|