Add batching to reanalyze_all. (#487) #243
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: Deploy to Staging | |
on: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
request_deployment: | |
runs-on: ubuntu-latest | |
if: github.repository == 'n-rook/thscoreboard' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install flake8 pytest | |
if [ -f requirements-dev.txt ]; then pip install -r requirements-dev.txt; fi | |
- name: Deploy to staging | |
working-directory: ./project/thscoreboard | |
env: | |
LOCAL_DATABASE_PASSWORD: unused | |
DEPLOY_PASSWORD: ${{ secrets.STAGING_DEPLOYER_PASSWORD }} | |
run: | | |
python manage.py remote_deploy staging.silentselene.net deployer |