-
Notifications
You must be signed in to change notification settings - Fork 0
30 lines (30 loc) · 899 Bytes
/
deploy-dev.yml
File metadata and controls
30 lines (30 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# name: Deploy-dev
# "on":
# workflow_run:
# workflows: [CI]
# branches: [develop]
# types:
# - completed
# push:
# branches:
# - develop
# jobs:
# deployment:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Deploy using ssh
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.HOST }}
# USERNAME: ${{ secrets.USERNAME }}
# KEY: ${{ secrets.PRIVATE_KEY }}
# PORT: 22
# script: |
# cd /home/sf/stackforce-frontend-dev
# git checkout develop
# git pull
# git status
# yarn install
# yarn build
# pm2 restart sf-front-dev