fix: ci
Some checks failed
Deploy to SFTP Server / build (push) Has been cancelled

This commit is contained in:
max_richter 2024-04-07 20:22:50 +02:00
parent 94b60be9b6
commit 1cdce4c223

View File

@ -19,6 +19,13 @@ jobs:
- name: 🔄 Checkout code
uses: actions/checkout@v3
- name: Debug SSH Env vars
run: |
echo "SSH_HOST=$SSH_HOST"
echo "SSH_PORT=$SSH_PORT"
echo "SSH_USER=$SSH_USER"
echo "REMOTE_DIR=$REMOTE_DIR"
- name: 🔢 Calculate cache IDs
run: |
# Calculate cache IDs for Git LFS and PNPM
@ -64,7 +71,6 @@ jobs:
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
- name: 🚀 Deploy Changed Files via rsync
run: |
rsync -avz --delete -e "ssh -p ${SSH_PORT}" ./dist/ ${SSH_USER}@${SSH_HOST}:${REMOTE_DIR}
rsync -avz -e "ssh -p ${SSH_PORT}" ./dist/ ${SSH_USER}@${SSH_HOST}:${REMOTE_DIR}