Skip to content

Commit

Permalink
fix env variables in github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
skylinezum committed Dec 1, 2020
1 parent 628d571 commit 0a074ad
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: Run Tests
run: npm test
env:
API_USER: ${{ FEIEYUN_USER }}
API_KEY: ${{ FEIEYUN_API_KEY }}
DEV_SN: ${{ FEIEYUN_DEVICE_SN }}
DEV_KEY: ${{ FEIEYUN_DEVICE_KEY }}
API_USER: ${{ secrets.FEIEYUN_USER }}
API_KEY: ${{ secrets.FEIEYUN_API_KEY }}
DEV_SN: ${{ secrets.FEIEYUN_DEVICE_SN }}
DEV_KEY: ${{ secrets.FEIEYUN_DEVICE_KEY }}
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
run: npm install
- name: Run Tests
run: npm test
env:
API_USER: ${{ secrets.FEIEYUN_USER }}
API_KEY: ${{ secrets.FEIEYUN_API_KEY }}
DEV_SN: ${{ secrets.FEIEYUN_DEVICE_SN }}
DEV_KEY: ${{ secrets.FEIEYUN_DEVICE_KEY }}

update_draft_release:
needs: [ci]
Expand Down

0 comments on commit 0a074ad

Please sign in to comment.