From 8ad15030230bc2d1de81c91e64e500c6b64185be Mon Sep 17 00:00:00 2001 From: Andras Nemeseri Date: Sun, 24 Mar 2024 22:28:27 -0700 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6868586..715e1b3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,13 +12,13 @@ jobs: steps: - name: Deploy using ssh uses: appleboy/ssh-action@main - with: - host: ${{ secrets.HOST }} - username: ${{ secrets.USERNAME }} - key: ${{ secrets.SSHKEY }} - port: ${{ secrets.PORT }} - script: | - cd /www/family-site-reactjs - git pull origin main - npm install --only=prod - npm build + with: + host: ${{ secrets.HOST }} + username: ${{ secrets.USERNAME }} + key: ${{ secrets.SSHKEY }} + port: ${{ secrets.PORT }} + script: | + cd /www/family-site-reactjs + git pull origin main + npm install --only=prod + npm build