From aaae915090a02b8468851c04c67345572e1b0f65 Mon Sep 17 00:00:00 2001 From: khansadaoudi Date: Thu, 30 May 2024 14:53:54 +0200 Subject: [PATCH] fix deploy file --- .github/workflows/deploy.yml | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e7e57168..36846093 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -7,24 +7,18 @@ jobs: build: runs-on: ubuntu-latest steps: - - - name: checkout repository + - name: Checkout repository uses: actions/checkout@v2 - - - name: install dependencies + - name: Install dependencies run: npm install - - - name: build + - name: Build run: npm run buildProd - - - name: copy build to server - uses: appleboy/scp-action + - name: Copy build to server + uses: appleboy/scp-action@master with: - host: ${{secrets.SERVER_HOST}} - username: ${{secrets.SERVER_USERNAME}} - key: ${{secrets.SERVER_SSH_KEY}} - port: ${{secrets.SERVER_PORT}} + host: ${{ secrets.SERVER_HOST }} + username: ${{ secrets.SERVER_USERNAME }} + key: ${{ secrets.SERVER_SSH_KEY }} + port: ${{ secrets.SERVER_PORT }} source: /dist/spa - target: /home/arborator/arborator-frontend-test - - + target: /home/arborator/arborator-frontend-test \ No newline at end of file