Skip to content

Standardize API responses and new docs page (#124) #82

Standardize API responses and new docs page (#124)

Standardize API responses and new docs page (#124) #82

Workflow file for this run

name: Deployment
on:
push:
branches:
- main
paths:
- 'server/**/*.ts'
- 'client/**/*.ts'
- 'client/**/*.tsx'
- 'deploy.sh'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: ssh into Droplet and execute commands
uses: appleboy/[email protected]
with:
host: ${{ secrets.DROPLET_HOST }}
username: ${{ secrets.DROPLET_USER }}
key: ${{ secrets.DROPLET_SSH_KEY }}
script: |
export PATH=$HOME/n/bin:$PATH
export PATH=$HOME/.local/share/pnpm:$PATH
cd animechan
./deploy.sh