hugo-book-theme/.github/workflows/main.yml
2019-10-08 17:15:16 +02:00

18 lines
432 B
YAML

name: Build with Hugo
on: [push]
jobs:
hugo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Install Hugo
run: |
wget https://github.com/gohugoio/hugo/releases/download/v0.58.3/hugo_extended_0.58.3_Linux-64bit.deb -O /tmp/hugo.deb
sudo dpkg -i /tmp/hugo.deb
- name: Run Hugo
working-directory: exampleSite
run: hugo --themesDir ../..