14 lines
356 B
YAML
14 lines
356 B
YAML
|
name: Homepage
|
||
|
on: [push]
|
||
|
jobs:
|
||
|
publish:
|
||
|
runs-on: docker
|
||
|
container: klakegg/hugo:ext
|
||
|
steps:
|
||
|
- name: Check out source
|
||
|
run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
||
|
- name: Build
|
||
|
run: hugo build
|
||
|
- name: Publish
|
||
|
run: rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/
|