Skip to content

Fix: reset debug mode for prod #14

Fix: reset debug mode for prod

Fix: reset debug mode for prod #14

Workflow file for this run

name: Development On Render.com CI
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.x']
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install tox tox-gh-actions
- name: Test with tox
run: tox
deploy:
runs-on: ubuntu-latest
needs: test
if: github.ref == 'refs/heads/main' # Only deploy on main branch only
steps:
- name: Trigger Deploy on Render
env:
RENDER_DEPLOY_HOOK_URL: ${{ secrets.RENDER_DEPLOY_HOOK_URL }}
run: |
curl -X POST $RENDER_DEPLOY_HOOK_URL