From 015acaf14de9533740a9f20a466204e67bdaaa18 Mon Sep 17 00:00:00 2001 From: Max Richter Date: Sun, 7 Apr 2024 20:27:20 +0200 Subject: [PATCH] fix: ci --- .github/workflows/default.yaml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/default.yaml b/.github/workflows/default.yaml index 2f06f14..58ae2b5 100644 --- a/.github/workflows/default.yaml +++ b/.github/workflows/default.yaml @@ -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 }}