Skip to content

Commit 246febe

Browse files
Add more debugging
1 parent 96322ba commit 246febe

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/backup.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,12 @@ jobs:
6969
run: chmod 0600 $HOME/backup
7070
- name: change version
7171
run: echo "3.8.0" > $HOME/version
72-
- name: Add jq to path
73-
run: |
74-
jq=$(which jq)
75-
echo $jq
76-
echo $PATH
77-
export PATH=$PATH:$jq
78-
command -v jq
7972

80-
echo $PATH
8173
- name: Perform backup
8274
run: |
75+
jq=$(command -v jq)
76+
export PATH=$PATH:$jq
77+
echo $PATH
8378
docker run -e "GHE_HOSTNAME=${{ inputs.hostname }}" \
8479
-e "GHE_DATA_DIR=/data" \
8580
-e "GHE_EXTRA_SSH_OPTS=-p 122 -i /ghe-ssh/id_rsa -o ServerAliveInterval=30 -o ServerAliveCountMax=12000 -o StrictHostKeyChecking=no" \

0 commit comments

Comments
 (0)