Skip to content

port change

port change #15

Workflow file for this run

name: Deploy
on:
push:
branches:
- master # or the branch you want to deploy from
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: SSH and deploy
env:

Check failure on line 17 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / Deploy

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 17, Col: 13): Unexpected value ''
#SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
run: |
echo "Hello World";
# echo "$SSH_PRIVATE_KEY" > keyfile
# chmod 400 keyfile
# mkdir -p ~/.ssh
# cp known_hosts ~/.ssh/known_hosts
# ssh -t -i keyfile [email protected] "sudo bash ~/deploy.sh"