Skip to content

More explicit ssh command #4

More explicit ssh command

More explicit ssh command #4

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
cat << EOF > ~/id_ed25519
${{ secrets.SSH_PRIVATE_KEY }}
EOF
- name: Deploy with SSH
run: |
ssh -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -o PubkeyAuthentication=yes -o IdentityFile=~/hackerring-deploy [email protected] -P 4225