Skip to content

added git pull in workflow #44

added git pull in workflow

added git pull in workflow #44

Workflow file for this run

name: Deploy to Server
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Setup SSH known_hosts
run: |
mkdir -p ~/.ssh
ssh-keyscan -H 15.236.36.30 >> ~/.ssh/known_hosts
- name: SSH Commands
run: ssh -o StrictHostKeyChecking=yes [email protected] '
cd spark-matcher
git pull
'

Check failure on line 27 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 27