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
|
- name: 🔄 Checkout code
|
||||||
uses: actions/checkout@v3
|
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
|
- name: 🔢 Calculate cache IDs
|
||||||
run: |
|
run: |
|
||||||
# Calculate cache IDs for Git LFS and PNPM
|
# Calculate cache IDs for Git LFS and PNPM
|
||||||
@ -64,7 +71,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|
||||||
|
|
||||||
- name: 🚀 Deploy Changed Files via rsync
|
- name: 🚀 Deploy Changed Files via rsync
|
||||||
run: |
|
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