From d894145ecf57b7f464e845c62cd737e19a5df50b Mon Sep 17 00:00:00 2001 From: lxgr-linux <64218491+lxgr-linux@users.noreply.github.com> Date: Wed, 29 Nov 2023 13:32:09 +0100 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 73368db0..634cdf49 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,6 +30,6 @@ jobs: echo "${{ secrets.LXGR_DEPLOY_PRIV }}" > ~/.ssh/id_rsa ssh-keyscan -H ${{ secrets.LXGR_HOST }} > ~/.ssh/known_hosts - name: connect and pull - run: ssh ${{ secrets.LXGR_USER }}@${{ secrets.LXGR_HOST }} "cd ~/$LABEL && git fetch && git checkout ${{ github.event.pull_request.head.ref }} && git pull && npm i && exit" + run: ssh ${{ secrets.LXGR_USER }}@${{ secrets.LXGR_HOST }} "cd ~/$LABEL && git fetch && git checkout ${{ github.event.pull_request.head.ref }} && git pull && npm i && npm run build && exit" - name: cleanup run: rm -rf ~/.ssh