Skip to content

Commit

Permalink
Update python-app.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
martinszy authored May 24, 2024
1 parent 54df796 commit 2c752e9
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
path: api-politica-bridge
- uses: actions/checkout@v4
with:
repository: abrimos-info/api-politica
path: api-politica
ref: mexico
token: ${{ secrets.GH_PAT }}
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
Expand All @@ -32,8 +40,6 @@ jobs:
- name: Start api-politica
run: |
# stop the build if there are Python syntax errors or undefined names
git clone https://github.com/abrimos-info/api-politica
git checkout mexico
cd api-politica
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python db_create 1 && python application.py &
Expand Down

0 comments on commit 2c752e9

Please sign in to comment.