commit
723e267b8c
5
.github/workflows/deploy-api.yml
vendored
5
.github/workflows/deploy-api.yml
vendored
@ -1,7 +1,6 @@
|
|||||||
name: Pull changes and deploy API
|
name: Pull changes and deploy API
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
@ -13,4 +12,6 @@ jobs:
|
|||||||
username: ${{ secrets.USERNAME }}
|
username: ${{ secrets.USERNAME }}
|
||||||
password: ${{ secrets.PASSWORD }}
|
password: ${{ secrets.PASSWORD }}
|
||||||
port: ${{ secrets.PORT }}
|
port: ${{ secrets.PORT }}
|
||||||
script: whoami
|
script: |
|
||||||
|
cd ${{ secrets.APP_FOLDER }} && git pull
|
||||||
|
supervisorctl restart ${{ secrets.SUPERVISOR_SERVICE_NAME }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user