This commit is contained in:
Neale Pickett 2023-10-27 21:05:48 -07:00
parent 59055735e5
commit c7fa910d21
1 changed files with 6 additions and 2 deletions

View File

@ -7,7 +7,7 @@ jobs:
steps: steps:
- run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY . - run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
- run: hugo - run: hugo
- name: set up SSH - name: Set up SSH
run: | run: |
mkdir -p $HOME/.ssh mkdir -p $HOME/.ssh
cp .gitea/workflows/known_hosts $HOME/.ssh cp .gitea/workflows/known_hosts $HOME/.ssh
@ -15,6 +15,10 @@ jobs:
${{ secrets.SSH_PUBLISH_PRIVATE_KEY }} ${{ secrets.SSH_PUBLISH_PRIVATE_KEY }}
EOD EOD
md5sum $HOME/.ssh/id_rsa md5sum $HOME/.ssh/id_rsa
nevermind:
runs-on:
- hugo
steps:
- name: rsync - name: rsync
run: | run: |
ssh-agent rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/ echo ssh-agent rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/