yaml version: 2 jobs: build: docker: - image: circleci/node:12 steps: - checkout - run: name: Install dependencies command: npm install - run: name: Run tests command: npm test - deploy: name: Deploy to server sudo apt-get install -y sshpass sshpass -p $SSH_PASSWORD ssh -o StrictHostKeyChecking=no $DEPLOY_USER@$DEPLOY_HOST 'bash -s' < deploy.sh


上一篇:
下一篇:
切换中文