setting enviornmental variables properly

This commit is contained in:
Game_Time 2023-08-19 19:19:54 +05:00 committed by GitHub
parent eebf72aea6
commit 162e128366
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,7 +5,10 @@ on: [pull_request]
jobs: jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
env:
MONGO_URI: ${{ secrets.MONGO_URI }}
NOVA_KEY: ${{ secrets.NOVA_KEY }}
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -21,9 +24,6 @@ jobs:
pip install -r requirements.txt pip install -r requirements.txt
- name: Start API server - name: Start API server
env:
MONGO_URI: ${{ secrets.MONGO_URI }}
NOVA_KEY: letstrythis
run: | run: |
python run python run