From 1a7532732a49e161ac0103bfb76134471c5ff4cb Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Mon, 1 Jun 2020 23:55:59 +0200 Subject: [PATCH] update node.js.yml --- .github/workflows/node.js.yml | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index bbbd2ba..919c106 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -17,28 +17,10 @@ jobs: path: /home/arthur/website - name: Install - uses: appleboy/ssh-action@master - with: - host: ${{ secrets.SSH_HOST }} - username: ${{ secrets.SS_USERNAME }} - port: ${{ secrets.SSH_PORT }} - key: ${{ secrets.SSH_KEY }} - script: yarn install + run: yarn install - name: Build - uses: appleboy/ssh-action@master - with: - host: ${{ secrets.SSH_HOST }} - username: ${{ secrets.SS_USERNAME }} - port: ${{ secrets.SSH_PORT }} - key: ${{ secrets.SSH_KEY }} - script: yarn build-all + run: yarn build-all - name: Run - uses: appleboy/ssh-action@master - with: - host: ${{ secrets.SSH_HOST }} - username: ${{ secrets.SS_USERNAME }} - port: ${{ secrets.SSH_PORT }} - key: ${{ secrets.SSH_KEY }} - script: yarn start \ No newline at end of file + run: yarn start \ No newline at end of file