Skip to content

Commit

Permalink
updated workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TanmoySG committed Sep 14, 2024
1 parent f762cf9 commit 494bde1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/data-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
paths: ['data/*/records.json']

jobs:
build:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand All @@ -21,6 +21,11 @@ jobs:
WDB_USERNAME: ${{ secrets.WDB_USERNAME }}
WDB_PASSWORD: ${{ secrets.WDB_PASSWORD }}
run: |
echo '### Sync Summary 📋' >> $GITHUB_STEP_SUMMARY
cd ${GITHUB_WORKSPACE}/push
pip install -r requirements.txt
python3 app.py
echo "Sync Run Logs" >> $GITHUB_STEP_SUMMARY
echo "```" >> $GITHUB_STEP_SUMMARY
python3 app.py
echo "```" >> $GITHUB_STEP_SUMMARY
echo "✅ Sync Run Completed." >> $GITHUB_STEP_SUMMARY

0 comments on commit 494bde1

Please sign in to comment.