CI/CD
Homepage / build (push) Failing after 9s Details

This commit is contained in:
Neale Pickett 2023-10-27 20:19:56 -07:00
parent 6359c3fcb0
commit a569739703
1 changed files with 6 additions and 8 deletions

View File

@ -5,11 +5,9 @@ jobs:
runs-on: runs-on:
- hugo - hugo
steps: steps:
- name: Check out source - run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY . - run: hugo
- name: Build - run: mkdir -p $HOME/.ssh
run: hugo - run: cp .gitea/workflows/known_hosts $HOME/.ssh
- name: Set up SSH - run: umask 077; echo ${{ secrets.SSH_PUBLISH_PRIVATE_KEY }} > $HOME/id_rsa
run: mkdir -p $HOME/.ssh && cp .gitea/workflows/known_hosts $HOME/.ssh - run: rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/
- name: Publish
run: rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/