Skip to content

Commit 29d10c2

Browse files
committed
Add make envfile action
1 parent 979c695 commit 29d10c2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- uses: actions/checkout@v2
29+
- name: Make envfile
30+
uses: SpicyPizza/create-envfile@v1
31+
with:
32+
envkey_INFURA_ID: ${{ secrets.INFURA_ID }}
2933
- name: Setup .npmrc file to publish to npm
3034
uses: actions/setup-node@v1
3135
with:
@@ -35,6 +39,8 @@ jobs:
3539
run: npm install
3640
- name: Build
3741
run: npm run build
42+
env:
43+
INFURA_ID: ${{ secrets.INFURA_ID }}
3844
- name: Publish to npm
3945
run: npm publish --access public
4046
env:

0 commit comments

Comments
 (0)