homepage/.gitea/workflows/build.yaml

14 lines
370 B
YAML

name: Homepage
on: [push]
jobs:
publish:
runs-on: ubuntu-latest: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/