Simplify deploy script usage comments
Deploy ru-vps / deploy (push) Successful in 24s
Deploy cloud-pc / deploy (push) Failing after 40s
Deploy mini-pc / deploy (push) Successful in 35s

This commit is contained in:
Dmitry
2026-05-28 21:12:39 +03:00
parent e6bfa13eb2
commit 673e2c838d
4 changed files with 10 additions and 13 deletions
+3 -3
View File
@@ -8,10 +8,10 @@ on:
required: false required: false
push: push:
paths: paths:
- '.gitea/workflows/deploy-cloud-pc.yml' - ".gitea/workflows/deploy-cloud-pc.yml"
- 'cloud-pc/**' - "cloud-pc/**"
schedule: schedule:
- cron: '0 4 * * *' - cron: "0 4 * * *"
jobs: jobs:
deploy: deploy:
+3 -3
View File
@@ -8,10 +8,10 @@ on:
required: false required: false
push: push:
paths: paths:
- '.gitea/workflows/deploy-mini-pc.yml' - ".gitea/workflows/deploy-mini-pc.yml"
- 'mini-pc/**' - "mini-pc/**"
schedule: schedule:
- cron: '0 4 * * *' - cron: "0 4 * * *"
jobs: jobs:
deploy: deploy:
+4 -4
View File
@@ -6,13 +6,13 @@ on:
stack: stack:
description: "Stack to deploy (leave empty to reconcile all)" description: "Stack to deploy (leave empty to reconcile all)"
required: false required: false
push: push:
paths: paths:
- '.gitea/workflows/deploy-ru-vps.yml' - ".gitea/workflows/deploy-ru-vps.yml"
- 'ru-vps/**' - "ru-vps/**"
schedule: schedule:
- cron: '0 4 * * *' - cron: "0 4 * * *"
jobs: jobs:
deploy: deploy:
-3
View File
@@ -1,7 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Usage: deploy.sh <host> [stack]
# host — node directory (cloud-pc, mini-pc, ru-vps)
# stack — optional single stack name; omit to reconcile all
set -euxo pipefail set -euxo pipefail
HOST="$1" HOST="$1"