File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e # this forces an exit on any error
3
- # log location - /home/factorio/backend_scripts/github_webhook_output.txt
4
3
# folder=$1 repository=$2 branch=$3 map=$4 cleanup=$5 debug=$6
5
4
6
- /home/factorio/backend_scripts/update-from-args.sh develop origin develop default false false >> " /home/factorio/backend_scripts/github_webhook_output.txt"
7
- /home/factorio/backend_scripts/update-from-args.sh crashsite origin develop crash_site false false >> " /home/factorio/backend_scripts/github_webhook_output.txt"
8
- /home/factorio/backend_scripts/update-from-args.sh dev-debug origin develop default false true >> " /home/factorio/backend_scripts/github_webhook_output.txt"
5
+ script_path=' /home/factorio/backend_scripts/git_update_scripts/update-from-args.sh'
6
+
7
+ {
8
+ " $script_path " develop origin develop default false false
9
+ " $script_path " crashsite origin develop crash_site false false
10
+ " $script_path " dev-debug origin develop default false true
11
+ } >> ' /home/factorio/backend_scripts/logs/github_webhook_output.txt'
You can’t perform that action at this time.
0 commit comments