Skip to content

Commit a506ec0

Browse files
committed
update .env and github actions
1 parent 28cc00d commit a506ec0

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ NEXT_PUBLIC_COINGECKO_API_URL=https://api.coingecko.com/api/v3
33
NEXT_PUBLIC_CHROME_EXT_INSTALL_URL=https://github.com/forbole/forbole-x/releases/tag/v0.3.0
44
MAILGUN_HOST=smtp.mailgun.org
55
MAILGUN_PORT=2525
6+
MAILGUN_USER=secret
7+
MAILGUN_KEY=secret
68
CONTACT_EMAIL=info@forbole.com

.github/workflows/deploy.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
password: ${{ secrets.DOCKER_PASSWORD }}
2323
- name: Update env variables
2424
run: |
25-
echo MAILGUN_USER=${{ secrets.MAILGUN_USER }} >> .env
26-
echo MAILGUN_KEY=${{ secrets.MAILGUN_KEY }} >> .env
25+
sed -i 's/MAILGUN_USER=secret/MAILGUN_USER=${{ secrets.MAILGUN_USER }}/g' .env
26+
sed -i 's/MAILGUN_KEY=secret/MAILGUN_KEY=${{ secrets.MAILGUN_KEY }}/g' .env
2727
- name: Build and push
2828
id: docker_build
2929
uses: docker/build-push-action@v2

0 commit comments

Comments
 (0)