Skip to content

Commit

Permalink
Update django.yml
Browse files Browse the repository at this point in the history
Added secret file path
  • Loading branch information
tiwa1154 authored Jun 10, 2024
1 parent 8e3f1e0 commit 3bdd102
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/django.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}

- name: Debugging Step
run: |
ls -R server # List all files and directories recursively
Expand All @@ -29,6 +31,11 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install -r server/requirements.txt
- name: Create .secret file
run: |
echo "${{ secrets.PORTAL_USERDB_SECRET }}" > server/.secret
- name: Run Tests
env:
SECRET_KEY: ${{ secrets.SECRET_KEY }}
Expand Down

0 comments on commit 3bdd102

Please sign in to comment.