typo #97
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |