Skip to content

Update LICENSE

Update LICENSE #25

Workflow file for this run

name: Deploy to Droplet
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Deploy to Server
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SERVER_IP }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
script: |
cd ${{ secrets.SERVER_PATH }}
git pull origin main
pnpm install --lockfile
pnpm run build
pm2 restart ${{ secrets.PM2_PROCESS_NAME }} --silent
echo "Deployment successful"