Skip to content

Commit 7e6363d

Browse files
committed
Fix yaml syntax and add debug step to validate ssh host in github actions
1 parent ec78759 commit 7e6363d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy-preview.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Debug SSH Host
12-
run: echo "SSH Host: ${{ secrets.SSH_HOST_DEV_SERVER }}"
12+
env:
13+
SSH_HOST: ${{ secrets.SSH_HOST_DEV_SERVER }}
14+
run: echo "SSH Host: $SSH_HOST"
1315

1416
- name: Execute remote SSH commands using SSH key
1517
uses: appleboy/ssh-action@master

0 commit comments

Comments
 (0)