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 20:52:19 -06:00
|
|
|
runs-on:
|
2023-10-27 20:53:16 -06:00
|
|
|
- hugo
|
2023-10-27 14:53:05 -06:00
|
|
|
steps:
|
|
|
|
- name: Check out source
|
|
|
|
run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
|
|
|
- name: Build
|
2023-10-27 20:56:18 -06:00
|
|
|
run: hugo
|
2023-10-27 21:00:59 -06:00
|
|
|
- name: Set up SSH
|
2023-10-27 21:02:54 -06:00
|
|
|
run: mkdir -p $HOME/.ssh && cp .gitea/workflows/known_hosts $HOME/.ssh
|
2023-10-27 14:53:05 -06:00
|
|
|
- name: Publish
|
|
|
|
run: rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/
|