This commit is contained in:
Neale Pickett 2023-10-27 20:36:48 -07:00
parent 64778580b3
commit 59055735e5
1 changed files with 4 additions and 1 deletions

View File

@ -11,7 +11,10 @@ jobs:
run: |
mkdir -p $HOME/.ssh
cp .gitea/workflows/known_hosts $HOME/.ssh
umask 077; echo ${{ secrets.SSH_PUBLISH_PRIVATE_KEY_BASE64 }} | base64 -d > $HOME/id_rsa
umask 077; cat > $HOME/.ssh/id_rsa <<EOD
${{ secrets.SSH_PUBLISH_PRIVATE_KEY }}
EOD
md5sum $HOME/.ssh/id_rsa
- name: rsync
run: |
ssh-agent rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/