json view

add example
update pypi.yml
This commit is contained in:
long2ice
2020-04-27 22:57:58 +08:00
parent 6031fda39a
commit d2572dadb2
12 changed files with 344 additions and 235 deletions

View File

@@ -21,4 +21,15 @@ jobs:
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_password }}
password: ${{ secrets.pypi_password }}
- name: Deploy
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
cd /root/fastapi-admin/
git pull
supervisorctl restart fastapi-admin