two-torial/.github/workflows/build.yml

23 lines
486 B
YAML
Raw Normal View History

2023-08-30 17:29:20 +02:00
name: Build
on:
push:
branches:
- master
- main
permissions:
contents: write
2024-07-12 10:55:44 +02:00
2023-08-30 17:29:20 +02:00
jobs:
deploy:
runs-on: ubuntu-latest
steps:
2024-07-12 10:55:44 +02:00
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
2023-08-30 17:29:20 +02:00
with:
2024-07-12 10:55:44 +02:00
python-version: '3.x'
- name: Install pip dependencies
run: pip install --user -r requirements.txt
2023-08-30 17:29:20 +02:00
- name: Build and deploy site
run: mkdocs gh-deploy --force