瀏覽代碼

Use an environment variable for the working directory

master
Fen Dweller 5 年之前
父節點
當前提交
32a1ac1420
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      config.json

+ 3
- 3
config.json 查看文件

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


Loading…
取消
儲存