This commit is contained in:
parent
f49a25cfc8
commit
015acaf14d
16
.github/workflows/default.yaml
vendored
16
.github/workflows/default.yaml
vendored
@ -16,20 +16,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
container: git.max-richter.dev/max/website:latest
|
||||
steps:
|
||||
- name: Debug SSH Env vars
|
||||
run: |
|
||||
echo "SSH_HOST=$SSH_HOST"
|
||||
echo "SSH_PORT={{ vars.SSH_PORT }}"
|
||||
echo "SSH_USER=$SSH_USER"
|
||||
echo "REMOTE_DIR=$REMOTE_DIR"
|
||||
env:
|
||||
SSH_HOST: ${{ vars.SSH_HOST }}
|
||||
SSH_PORT: ${{ vars.SSH_PORT }}
|
||||
|
||||
- name: 🔄 Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
|
||||
- name: 🔢 Calculate cache IDs
|
||||
run: |
|
||||
# Calculate cache IDs for Git LFS and PNPM
|
||||
@ -78,3 +67,8 @@ jobs:
|
||||
- name: 🚀 Deploy Changed Files via rsync
|
||||
run: |
|
||||
rsync -avz -e "ssh -p ${SSH_PORT}" ./dist/ ${SSH_USER}@${SSH_HOST}:${REMOTE_DIR}
|
||||
env:
|
||||
SSH_HOST: ${{ vars.SSH_HOST }}
|
||||
SSH_PORT: ${{ vars.SSH_PORT }}
|
||||
SSH_USER: ${{ vars.SSH_USER }}
|
||||
REMOTE_DIR: ${{ vars.REMOTE_DIR }}
|
||||
|
Loading…
Reference in New Issue
Block a user