This commit is contained in:
@@ -30,14 +30,15 @@ jobs:
|
|||||||
git checkout -q "$GITHUB_SHA"
|
git checkout -q "$GITHUB_SHA"
|
||||||
|
|
||||||
- name: Write SSH key
|
- name: Write SSH key
|
||||||
|
env:
|
||||||
|
SSH_KEY_STELLAAMOR: ${{ secrets.SSH_KEY_STELLAAMOR }}
|
||||||
run: |
|
run: |
|
||||||
install -m 700 -d ~/.ssh
|
install -m 700 -d ~/.ssh
|
||||||
umask 177
|
umask 177
|
||||||
cat > ~/.ssh/deploy_stellaamor <<'KEY'
|
printf '%s' "$SSH_KEY_STELLAAMOR" > ~/.ssh/deploy_stellaamor
|
||||||
${{ secrets.SSH_KEY_STELLAAMOR }}
|
|
||||||
KEY
|
|
||||||
chmod 600 ~/.ssh/deploy_stellaamor
|
chmod 600 ~/.ssh/deploy_stellaamor
|
||||||
|
|
||||||
|
|
||||||
- name: SSH smoke test
|
- name: SSH smoke test
|
||||||
run: ssh $SSH_OPTS -i "$SSH_KEY_PATH" ${SSH_USER}@${SSH_HOST} true
|
run: ssh $SSH_OPTS -i "$SSH_KEY_PATH" ${SSH_USER}@${SSH_HOST} true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user