From ea163d55a5ae3015ef800bc3e232be915ede2573 Mon Sep 17 00:00:00 2001 From: watson Date: Sun, 20 Oct 2024 19:51:41 +0200 Subject: [PATCH] try again --- .github/workflows/main.yml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2444312..28b95ef 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,27 +10,6 @@ jobs: runs-on: ubuntu-latest steps: -# - name: Checkout code -# uses: actions/checkout@v2 -# -# - name: Set up Node.js -# uses: actions/setup-node@v2 -# with: -# node-version: '16' -# -# # - name: Install build tools -# # run: sudo apt-get install -y build-essential -# -# #- name: List node_modules -# # run: ls -R node_modules -# -# - name: Install dependencies -# run: npm ci --production=True -# # or npm ci -# -# - name: Build the app -# run: npm run build - - name: Deploy to VPS env: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} @@ -43,8 +22,4 @@ jobs: echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa ssh-keyscan -H $VPS_HOST >> ~/.ssh/known_hosts -# rsync -avz $VPS_USER@$VPS_HOST $VPS_PATH -# --delete dist/ ssh $VPS_USER@$VPS_HOST -p $VPS_PORT "cd $VPS_PATH && touch t.txt" -# && npm install --production" -# && pm2 restart all"