Skip to content

build

build #351

Workflow file for this run

name: build
on:
push:
branches:
- master
workflow_dispatch:
schedule:
- cron: "0 4 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Run tests
run: make check
- name: Build site
run: make freeze
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./pyworking_cz/build/
cname: pyworking.cz