This commit is contained in:
parent
94b60be9b6
commit
1cdce4c223
10
.github/workflows/default.yaml
vendored
10
.github/workflows/default.yaml
vendored
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user