Skip to content

Bump requests from 2.31.0 to 2.32.2 in /tools (#148) #83

Bump requests from 2.31.0 to 2.32.2 in /tools (#148)

Bump requests from 2.31.0 to 2.32.2 in /tools (#148) #83

Workflow file for this run

name: CD-dev
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "main" branch
push:
branches:
- develop
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
deploy:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script_stop: true
script: |
cd kuiz-dev
git checkout develop
git pull
yarn install
yarn build
yarn pm2:restart:dev