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
- name: Deploy
uses: https://github.com/easingthemes/ssh-deploy@main
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ARGS: "-rlgoDzvc -i --delete"
SOURCE: "public/"
REMOTE_HOST: digitalstudium.com
REMOTE_USER: root
TARGET: /srv/digitalstudium.com
SCRIPT_BEFORE: |
apt update
apt install -y rsync
uses: burnett01/rsync-deployments@5.2.1
with:
switches: -avzr --delete
path: "public/"
remote_path: /srv/digitalstudium.com
remote_host: digitalstudium.com
remote_user: root
remote_key: ${{ secrets.SSH_PRIVATE_KEY }}