1
0
Fork 0

change image
Deploy / deploy (push) Failing after 8s Details

This commit is contained in:
Digital Studium 2023-05-10 15:56:55 +03:00
parent 779ca2c5eb
commit 10ccaf4032
1 changed files with 8 additions and 11 deletions

View File

@ -25,14 +25,11 @@ jobs:
run: hugo --minify run: hugo --minify
- name: Deploy - name: Deploy
uses: https://github.com/easingthemes/ssh-deploy@main uses: burnett01/rsync-deployments@5.2.1
env: with:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} switches: -avzr --delete
ARGS: "-rlgoDzvc -i --delete" path: "public/"
SOURCE: "public/" remote_path: /srv/digitalstudium.com
REMOTE_HOST: digitalstudium.com remote_host: digitalstudium.com
REMOTE_USER: root remote_user: root
TARGET: /srv/digitalstudium.com remote_key: ${{ secrets.SSH_PRIVATE_KEY }}
SCRIPT_BEFORE: |
apt update
apt install -y rsync