tomo
2 months ago
No known key found for this signature in database
GPG Key ID: 5FB8BCB7CE54EE44
1 changed files with
20 additions and
1 deletions
-
deploy/multideploy.sh
|
|
@ -1,6 +1,25 @@ |
|
|
|
#!/usr/bin/env sh |
|
|
|
|
|
|
|
# MULTIDEPLOY_CONFIG="default" |
|
|
|
################################################################################ |
|
|
|
# ACME.sh 3rd party deploy plugin for multiple (same) services |
|
|
|
################################################################################ |
|
|
|
# Authors: tomo2403 (creator), https://github.com/tomo2403 |
|
|
|
# Updated: 2024-07-03 |
|
|
|
# Issues: https://github.com/acmesh-official/acme.sh/issues/XXXXX |
|
|
|
################################################################################ |
|
|
|
# Usage (shown values are the examples): |
|
|
|
# 1. Set optional environment variables |
|
|
|
# - export MULTIDEPLOY_CONFIG="default" - "default" will be automatically used if not set" |
|
|
|
# |
|
|
|
# 2. Run command: |
|
|
|
# acme.sh --deploy --deploy-hook multideploy -d example.com |
|
|
|
################################################################################ |
|
|
|
# Dependencies: |
|
|
|
# - yq |
|
|
|
################################################################################ |
|
|
|
# Return value: |
|
|
|
# 0 means success, otherwise error. |
|
|
|
################################################################################ |
|
|
|
|
|
|
|
MULTIDEPLOY_VERSION="1.0" |
|
|
|
MULTIDEPLOY_FILENAME="multideploy.yml" |
|
|
|