Pārlūkot izejas kodu

Use an environment variable for the working directory

master
Fen Dweller pirms 5 gadiem
vecāks
revīzija
32a1ac1420
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +3
    -3
      config.json

+ 3
- 3
config.json Parādīt failu

@@ -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": [
{


Notiek ielāde…
Atcelt
Saglabāt