feat!: massively improve api docs styles #127
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy API | |
| on: | |
| push: | |
| branches: [ main ] | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Executing remote command | |
| uses: appleboy/ssh-action@master | |
| with: | |
| host: ${{ secrets.VPS_HOST_IP }} | |
| USERNAME: ${{ secrets.VPS_USERNAME }} | |
| PORT: ${{ secrets.VPS_SSH_PORT }} | |
| KEY: ${{ secrets.VPS_SSH_KEY }} | |
| script: | | |
| cd /var/www/html/api.faithfulpack.net/ | |
| git stash | |
| git pull | |
| pnpm install | |
| pnpm build | |
| pm2 restart "API" |