Привёл в соответствии с книгой. Важное пояснение по одному из последс… #208
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: Deploy Site on push | |
on: | |
push: | |
branches: | |
- public | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: appleboy/[email protected] | |
with: | |
host: ${{ secrets.SERVER }} | |
username: ${{ secrets.USER }} | |
password: ${{ secrets.PASSWORD }} | |
port: 822 | |
script: | | |
cd /var/www/use6gurps/data/www/pbta.su/vault/src/ | |
git pull | |