Skip to content

Switch to GitHub Actions #1

Switch to GitHub Actions

Switch to GitHub Actions #1

Workflow file for this run

name: Build
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: pip install -U --upgrade-strategy=eager Nikola==8.0.0b2 requests PyYAML webassets pybibtex
- name: Run plugin publication_list
run: nikola plugin -i publication_list
- name: Run nikola build
run: nikola build
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'output'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2