Skip to content

Workflow file for this run

name: remote ssh command
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.HOST_INVENTAIRE_DES_ORGUES }}
username: ${{ secrets.USERNAME_INVENTAIRE_DES_ORGUES }}
key: ${{ secrets.KEY_INVENTAIRE_DES_ORGUES }}
port: ${{ secrets.PORT_INVENTAIRE_DES_ORGUES }}
script: |
cd /var/www/docs
rm -rf ./site
git pull github_inventairedesorgues master
mkdocs build --clean
sudo systemctl restart nginx