Reset Data #461
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Reset Data | |
on: | |
workflow_dispatch: | |
jobs: | |
dumpData: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
cache: "pip" | |
- name: Install dependencies | |
run: pip install -U pip && pip install -r requirements.txt | |
- name: Reset Data | |
run: | | |
python3 resetStat.py ${{ secrets.MONGO_URI }} | |