rsync deploy
This commit is contained in:
7
.github/workflows/deploy.yml
vendored
7
.github/workflows/deploy.yml
vendored
@@ -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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user