Skip to content

Commit

Permalink
combine commands
Browse files Browse the repository at this point in the history
  • Loading branch information
sayantikabanik committed Jul 11, 2024
1 parent d54befd commit 7a9ccb4
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/datasets-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,10 @@ jobs:
channels: conda-forge
channel-priority: strict

- name: Change directory to Flask app
- name: Change directory to Flask app, run app, save as artifact
run: |
cd analytics_framework/intake/web_ui
python app.py
- name: Wait for Flask app to start
run: sleep 10

- name: Fetch Flask app page and save as HTML
run: |
curl http://127.0.0.1:5000 > result.html
mkdir -p artifacts
mv result.html artifacts/
Expand Down

0 comments on commit 7a9ccb4

Please sign in to comment.