merge: branch 'main' of https://github.com/alikia2x/cvsa into HEAD
This commit is contained in:
commit
c2a66f4198
18
.github/workflows/main.yml
vendored
Normal file
18
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
name: Deploy
|
||||
on: [push]
|
||||
jobs:
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Deploy the backend
|
||||
uses: appleboy/ssh-action@v1
|
||||
with:
|
||||
host: ${{ secrets.HOST }}
|
||||
username: ${{ secrets.USERNAME }}
|
||||
key: ${{ secrets.KEY }}
|
||||
port: ${{ secrets.PORT }}
|
||||
script: |
|
||||
cd /web/cvsa
|
||||
git pull
|
||||
pm2 restart cvsa-be --update-env
|
||||
Loading…
Reference in New Issue
Block a user