hugo-book-theme/.github/workflows/main.yml

19 lines
432 B
YAML
Raw Normal View History

2019-09-05 23:44:19 +02:00
name: Build with Hugo
2019-08-22 22:46:28 +02:00
on: [push]
jobs:
hugo:
2019-08-22 23:07:54 +02:00
runs-on: ubuntu-latest
2019-08-22 22:46:28 +02:00
steps:
2019-08-22 22:54:29 +02:00
- uses: actions/checkout@master
2019-08-22 23:01:33 +02:00
2019-08-22 22:54:29 +02:00
- name: Install Hugo
run: |
wget https://github.com/gohugoio/hugo/releases/download/v0.59.1/hugo_extended_0.59.1_Linux-64bit.deb -O /tmp/hugo.deb
sudo dpkg -i /tmp/hugo.deb
2019-08-22 23:01:33 +02:00
2019-08-22 22:54:29 +02:00
- name: Run Hugo
2019-08-22 23:01:33 +02:00
working-directory: exampleSite
run: hugo --themesDir ../..