Skip to content

Commit 9452c27

Browse files
committed
Use workspace path for debug ssh key
1 parent 57c58f7 commit 9452c27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-image-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
OS_CLOUD: openstack
2727
OS_CLIENT_CONFIG_FILE: ${{ github.workspace }}/clouds.yaml
2828
EXTRA_VARS_FILE: .github/extra_vars/arcus.yml
29-
DEBUG_SSH_KEY_PATH: "~/.ssh/id_rsa_debug"
29+
DEBUG_SSH_KEY_PATH: "${{ github.workspace }}/id_rsa"
3030
steps:
3131
- name: Checkout repository
3232
uses: actions/checkout@v3
@@ -38,7 +38,7 @@ jobs:
3838

3939
- name: Write debug SSH key
4040
run: |
41-
mkdir -p $(dirname $DEBUG_SSH_KEY_PATH)
41+
set -x
4242
echo "${DEBUG_SSH_KEY}" > ${DEBUG_SSH_KEY_PATH}
4343
chmod 0600 ${DEBUG_SSH_KEY_PATH}
4444
env:

0 commit comments

Comments
 (0)