Skip to content

Main

Main #1846

Workflow file for this run

name: Main
on:
push:
pull_request:
schedule:
- cron: "30 2 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: |
python -m pip install -r requirements.txt
- name: Freeze HTML
run: |
python pyladies_cz.py freeze --verbose
- if: ${{ github.ref == 'refs/heads/master' }}
name: Deploy
run: |
python pyladies_cz.py deploy --no-freeze --push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}