mirror of
https://github.com/logos-co/open-law.git
synced 2025-01-16 01:45:57 +00:00
add: auto-deploy
This commit is contained in:
parent
fbf79ea848
commit
c9ebfd3b86
13
.github/workflows/python-app.yml
vendored
13
.github/workflows/python-app.yml
vendored
@ -64,3 +64,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
tags: simple2b/open-law-dev:latest
|
tags: simple2b/open-law-dev:latest
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: build
|
||||||
|
steps:
|
||||||
|
- name: Deploy
|
||||||
|
uses: appleboy/ssh-action@master
|
||||||
|
with:
|
||||||
|
host: ${{ secrets.SSH_HOST_IP_PROD }}
|
||||||
|
username: ${{ secrets.SSH_USER }}
|
||||||
|
key: ${{ secrets.SSH_KEY }}
|
||||||
|
script: |
|
||||||
|
sudo su -l runner -c "cd open-law; ./up.sh"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user