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