Skip to content

Commit

Permalink
Switch to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
remram44 committed Jun 26, 2023
1 parent 7b55690 commit bffbc60
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 22 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build

on:
push:
branches:
- master
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 3
- uses: actions/setup-python@v4
with:
python-version: '3.5'
- 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
22 changes: 0 additions & 22 deletions .travis.yml

This file was deleted.

0 comments on commit bffbc60

Please sign in to comment.