2023-10-27 14:53:05 -06:00
|
|
|
name: Homepage
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
2023-10-27 15:04:19 -06:00
|
|
|
build:
|
2023-10-27 14:53:05 -06:00
|
|
|
container: klakegg/hugo:ext
|
|
|
|
steps:
|
|
|
|
- name: Check out source
|
|
|
|
run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
|
|
|
- name: Build
|
|
|
|
run: hugo build
|
2023-10-27 15:04:19 -06:00
|
|
|
publish:
|
|
|
|
container: rsync/rsync
|
2023-10-27 15:24:34 -06:00
|
|
|
steps:
|
2023-10-27 15:04:19 -06:00
|
|
|
- run: find
|
2023-10-27 14:53:05 -06:00
|
|
|
- name: Publish
|
|
|
|
run: rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/
|