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 }}