This commit is contained in:
parent
cf08c9e928
commit
6d5c7141fb
@ -26,13 +26,13 @@ job "lure-updater" {
|
||||
}
|
||||
|
||||
env {
|
||||
GIT_REPO_DIR="/etc/lure-updater/repo"
|
||||
GIT_REPO_URL="https://github.com/Elara6331/lure-repo.git"
|
||||
GIT_CREDENTIALS_USERNAME="lure-repo-bot"
|
||||
GIT_CREDENTIALS_PASSWORD="${GITHUB_PASSWORD}"
|
||||
GIT_COMMIT_NAME="lure-repo-bot"
|
||||
GIT_COMMIT_EMAIL="lure@elara.ws"
|
||||
WEBHOOK_PASSWORD_HASH="${PASSWORD_HASH}"
|
||||
GIT_REPO_DIR = "/etc/lure-updater/repo"
|
||||
GIT_REPO_URL = "https://github.com/Elara6331/lure-repo.git"
|
||||
GIT_CREDENTIALS_USERNAME = "lure-repo-bot"
|
||||
GIT_CREDENTIALS_PASSWORD = "${GITHUB_PASSWORD}"
|
||||
GIT_COMMIT_NAME = "lure-repo-bot"
|
||||
GIT_COMMIT_EMAIL = "lure@elara.ws"
|
||||
WEBHOOK_PASSWORD_HASH = "${PASSWORD_HASH}"
|
||||
|
||||
// Hack to force Nomad to re-deploy the service
|
||||
// instead of ignoring it
|
||||
@ -41,10 +41,10 @@ job "lure-updater" {
|
||||
|
||||
config {
|
||||
image = "alpine:latest"
|
||||
ports = ["webhook"]
|
||||
volumes = ["local/lure-updater/:/opt/lure-updater:ro"]
|
||||
command = "/opt/lure-updater/lure-updater"
|
||||
args = ["-dE"]
|
||||
ports = ["webhook"]
|
||||
volumes = ["local/lure-updater/:/opt/lure-updater:ro"]
|
||||
}
|
||||
|
||||
artifact {
|
||||
|
Loading…
Reference in New Issue
Block a user