homepage/.gitea/workflows/build.yaml

16 lines
426 B
YAML

name: Homepage
on: [push]
jobs:
build:
runs-on:
- hugo
steps:
- name: Check out source
run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
- name: Build
run: hugo
- name: Set up SSH
run: mkdir -p $HOME/.ssh && cp .gitea/workflows/known_hosts $HOME/.ssh
- name: Publish
run: rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/