homepage/.gitea/workflows/build.yaml

14 lines
422 B
YAML
Raw Normal View History

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:
2023-10-27 21:19:56 -06:00
- run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
- run: hugo
- run: mkdir -p $HOME/.ssh
- run: cp .gitea/workflows/known_hosts $HOME/.ssh
- run: umask 077; echo ${{ secrets.SSH_PUBLISH_PRIVATE_KEY }} > $HOME/id_rsa
- run: rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/