homepage/.gitea/workflows/build.yaml

14 lines
441 B
YAML

name: Homepage
on: [push]
jobs:
build:
runs-on:
- hugo
steps:
- 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_BASE64 }} | base64 -d > $HOME/id_rsa
- run: rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/