Skip to content

The SSH key is multiple lines... #2

The SSH key is multiple lines...

The SSH key is multiple lines... #2

Workflow file for this run

name: Deploy to Vulcan
on:
push:
branches:
- master
jobs:
deploy:
name: Deploy to Vulcan
runs-on: ubuntu-latest
environment: production
steps:
- name: Setup SSH
run: |
umask 077
mkdir -p ~/.ssh
cat << EOF > ~/.ssh/id_ed25519
${{ secrets.SSH_PRIVATE_KEY }}
EOF
- name: Deploy with SSH
run: |
ssh -o StrictHostKeyChecking=no [email protected] -P 4225