Skip to content

build

build #44

Workflow file for this run

name: build
on:
push:
branches:
- main
# schedule:
# - cron: "0 4 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: "3.9"
- name: Install Python dependencies
run: python -m pip install -r requirements.txt
- name: Pelican Build
run: pelican --settings=publishconf.py --debug --fatal warnings
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
cname: karolinasurma.eu