Skip to content

Commit a6b58c0

Browse files
authored
Remove unused deploy script (#16)
1 parent 53d9e66 commit a6b58c0

2 files changed

Lines changed: 19 additions & 24 deletions

File tree

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,25 @@ Simply create a new release in GitHub and the website will be automatically depl
5959
> [!NOTE]
6060
> Always create releases from the `main` branch to ensure all tested changes are included in the deployment.
6161
62+
63+
**Deploy script used in Forge:**
64+
65+
```bash
66+
cd /home/forge/mine-bot
67+
68+
git pull --tags origin $FORGE_SITE_BRANCH
69+
70+
# Ensure logs directory exists
71+
mkdir -p logs
72+
73+
npm install --omit=dev
74+
75+
# Restart the application using PM2 ecosystem config
76+
pm2 reload ecosystem.config.js --env production || pm2 start ecosystem.config.js --env production
77+
78+
pm2 save
79+
```
80+
6281
## 📜 License
6382

6483
This project is licensed under the MIT License (as specified in `package.json`).

deploy.sh

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)