We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 53d9e66 commit a6b58c0Copy full SHA for a6b58c0
2 files changed
README.md
@@ -59,6 +59,25 @@ Simply create a new release in GitHub and the website will be automatically depl
59
> [!NOTE]
60
> Always create releases from the `main` branch to ensure all tested changes are included in the deployment.
61
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
81
## 📜 License
82
83
This project is licensed under the MIT License (as specified in `package.json`).
deploy.sh
0 commit comments