From 3250009d1d6372cd0245d3b82afe060dc0b8f926 Mon Sep 17 00:00:00 2001 From: Graeme Fulton Date: Tue, 23 Apr 2024 15:58:27 +0100 Subject: [PATCH] build on server --- .github/workflows/deploy.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d1e4dc13..aa40b28d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -28,11 +28,6 @@ jobs: ssh-keyscan -H ${{ secrets.SERVER_HOST }} >> ~/.ssh/known_hosts # delete folder in temp staging directory if it exists - ssh ${{ env.SERVER_USER }}@${{ env.SERVER_HOST }};" - - # navigate to deploy script - cd ~; - - # run script - ./deploy.sh - " \ No newline at end of file + ssh ${{ env.SERVER_USER }}@${{ env.SERVER_HOST }} "\ + cd ~; \ + ./deploy.sh" \ No newline at end of file