Skip to content

Commit

Permalink
update testing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
danieltsoukup committed Jan 14, 2024
1 parent 311e998 commit 998a223
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
uses: actions/checkout@v3

- name: Add API key from secret
env:
TOKEN: ${{ secrets.TOKEN }}
run: |
cat "API_TOKEN=${{ secrets.TOKEN }}" > config.env
echo "API_TOKEN=$(TOKEN)" > config.env
- name: Docker build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ jobs:
env:
TOKEN: ${{ secrets.TOKEN }}
run: |
cat "API_TOKEN=${{ secrets.TOKEN }}" > config.env
echo "API_TOKEN=$(TOKEN)" > config.env
pytest .

0 comments on commit 998a223

Please sign in to comment.