mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2024-11-25 20:56:43 +00:00
19 lines
432 B
YAML
19 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.59.1/hugo_extended_0.59.1_Linux-64bit.deb -O /tmp/hugo.deb
|
|
sudo dpkg -i /tmp/hugo.deb
|
|
|
|
- name: Run Hugo
|
|
working-directory: exampleSite
|
|
run: hugo --themesDir ../..
|