Skip to content

Commit

Permalink
Merge pull request #190 from forbole/dev
Browse files Browse the repository at this point in the history
update .env and github actions
  • Loading branch information
calvinkei authored Aug 10, 2021
2 parents 28cc00d + a506ec0 commit 115e401
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ NEXT_PUBLIC_COINGECKO_API_URL=https://api.coingecko.com/api/v3
NEXT_PUBLIC_CHROME_EXT_INSTALL_URL=https://github.com/forbole/forbole-x/releases/tag/v0.3.0
MAILGUN_HOST=smtp.mailgun.org
MAILGUN_PORT=2525
MAILGUN_USER=secret
MAILGUN_KEY=secret
CONTACT_EMAIL=info@forbole.com
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Update env variables
run: |
echo MAILGUN_USER=${{ secrets.MAILGUN_USER }} >> .env
echo MAILGUN_KEY=${{ secrets.MAILGUN_KEY }} >> .env
sed -i 's/MAILGUN_USER=secret/MAILGUN_USER=${{ secrets.MAILGUN_USER }}/g' .env
sed -i 's/MAILGUN_KEY=secret/MAILGUN_KEY=${{ secrets.MAILGUN_KEY }}/g' .env
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
Expand Down

0 comments on commit 115e401

Please sign in to comment.