16 lines
423 B
YAML
16 lines
423 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 $HOME/.ssh && cp .gitea/workflows/known_hosts $HOME/.ssh
|
|
- name: Publish
|
|
run: rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/
|