create-aomex 0.0.70 → 0.0.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-aomex",
3
- "version": "0.0.70",
3
+ "version": "0.0.71",
4
4
  "repository": "git@github.com:aomex/create-aomex.git",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -9,7 +9,7 @@
9
9
  "scripts": {
10
10
  "start": "node scripts/start.mjs",
11
11
  "cron:stats": "sh scripts/docker-cron-stats.sh",
12
- "commit:main": "sh scripts/commit-develop-to-main.sh",
12
+ "cron:stop": "sh scripts/docker-stop-cron.sh",
13
13
  "deploy:production": "sh scripts/deploy.sh production",
14
14
  "deploy:api": "sh scripts/deploy-api.sh production",
15
15
  "deploy:cron": "sh scripts/deploy-cron.sh production",
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env sh
2
+
3
+ set -e
4
+
5
+ # exit 130 SIGINT
6
+ { sudo docker compose --file docker-compose-production.yml exec -it cron /bin/sh -c "aomex cron:stop" || :; }
7
+ sudo docker compose --file docker-compose-production.yml stop cron --timeout=1
@@ -1,10 +0,0 @@
1
- #!/usr/bin/env sh
2
-
3
- set -e
4
-
5
- git checkout main
6
- git fetch
7
- git reset --hard origin/main
8
- git rebase origin/develop
9
- git push
10
- git switch -