Skip to content

feat: add Pterodactyl and Discord Bot sections to homepage #93

feat: add Pterodactyl and Discord Bot sections to homepage

feat: add Pterodactyl and Discord Bot sections to homepage #93

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: SSH and deploy
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT || 22 }}
script: |
cd ${{ secrets.HOME_PATH }}
git fetch origin main
git clean -fd -e ads.txt -e robots.txt
git reset --hard origin/main
npm install
pm2 stop main-web
pm2 start main-web