try again
This commit is contained in:
parent
26e0ff2399
commit
a46af9c62c
1 changed files with 3 additions and 24 deletions
27
.github/workflows/main.yml
vendored
27
.github/workflows/main.yml
vendored
|
|
@ -10,26 +10,7 @@ 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: debug
|
||||
run: ping google.com
|
||||
|
||||
|
|
@ -45,8 +26,6 @@ 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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue