Просмотр исходного кода

Use an environment variable for the working directory

master
Fen Dweller 5 лет назад
Родитель
Сommit
32a1ac1420
1 измененных файлов: 3 добавлений и 3 удалений
  1. +3
    -3
      config.json

+ 3
- 3
config.json Просмотреть файл

@@ -1,7 +1,7 @@
[ [
{ {
"id": "sexy-push", "id": "sexy-push",
"execute-command": "./deploy.sh",
"execute-command": "{{ getenv "WEBHOOK_SCRIPT_DIR" }}/deploy.sh",
"command-working-directory": "/home/web/crux.sexy/", "command-working-directory": "/home/web/crux.sexy/",
"response-message": "Updating website...", "response-message": "Updating website...",
"trigger-rule": { "trigger-rule": {
@@ -17,7 +17,7 @@
}, },
{ {
"id": "game-push", "id": "game-push",
"execute-command": "./deploy-branch.sh",
"execute-command": "{{ getenv "WEBHOOK_SCRIPT_DIR" }}/deploy-branch.sh",
"command-working-directory": "/home/web/crux.sexy/", "command-working-directory": "/home/web/crux.sexy/",
"pass-arguments-to-command": [ "pass-arguments-to-command": [
{ {
@@ -43,7 +43,7 @@
}, },
{ {
"id": "game-release", "id": "game-release",
"execute-command": "./deploy-branch.sh",
"execute-command": "{{ getenv "WEBHOOK_SCRIPT_DIR" }}/deploy-branch.sh",
"command-working-directory": "/home/web/crux.sexy/", "command-working-directory": "/home/web/crux.sexy/",
"pass-arguments-to-command": [ "pass-arguments-to-command": [
{ {


Загрузка…
Отмена
Сохранить