Run vndb_id_connector #2
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: Run vndb_id_connector | |
on: | |
schedule: | |
- cron: "0 0 * * 0" | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build and run docker compose containers | |
run: | | |
cd scripts/vndb_id_connector | |
docker compose up -d | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Run vndb_id_connector | |
run: | | |
sleep 180 | |
cd scripts/vndb_id_connector | |
pip install -r requirements.txt | |
python main.py | |
- name: GitHub Commit & Push | |
uses: actions-js/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: "master" |