rsync deploy

This commit is contained in:
David Eisinger
2023-01-11 11:25:25 -05:00
parent ac258e9aaf
commit 71790b2376

View File

@@ -13,9 +13,6 @@ jobs:
hugo-version: "0.109.0" hugo-version: "0.109.0"
extended: true extended: true
- name: Build
run: hugo
- name: Install SSH deploy key - name: Install SSH deploy key
if: ${{ github.ref == 'refs/heads/main' }} if: ${{ github.ref == 'refs/heads/main' }}
env: env:
@@ -29,6 +26,4 @@ jobs:
- name: Deploy - name: Deploy
if: ${{ github.ref == 'refs/heads/main' }} if: ${{ github.ref == 'refs/heads/main' }}
run: | run: bin/deploy
cd public
scp -o PubkeyAcceptedKeyTypes=+ssh-rsa -r * www-data@107.170.116.37:/var/www/davideisinger.com