Skip to content

testlul

testlul #75

Workflow file for this run

name: Remote SSH
on:
push:
branches:
- production
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.IP }}
username: ${{ secrets.USER }}
key: ${{ secrets.PRIVATE_KEY }}
port: ${{ secrets.PORT }}
script: |
cd programming/VPlan_FR/
name: Remote SSH
on:

Check failure on line 23 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
push:
branches:
- master
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.IP }}
username: ${{ secrets.USER }}
key: ${{ secrets.PRIVATE_KEY }}
port: ${{ secrets.PORT }}
script: |
cd programming/games-VPlan_FR/
kill -INT (lsof -t nohup.out)
git checkout production
git pull
source venv/bin/activate.fish
pip install --upgrade pip
pip install -r requirements.txt
cd client
npm install --force
npm run build
sudo service apache2 restart
rm nohup.out
nohup node build > nohup.out 2> nohup.err < /dev/null &
disown (lsof -t nohup.out)