Fix BMAC signature verification #125
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: Deployment | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'server/**/*.ts' | |
| - 'client/**/*.ts' | |
| - 'client/**/*.tsx' | |
| - 'client/**/*.mdx' | |
| - '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/ssh-action@v1.0.3 | |
| 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 |