Skip to content

Fix /chat cmd not working because empty names #12

Fix /chat cmd not working because empty names

Fix /chat cmd not working because empty names #12

name: Deploy release on alwaysdata environment
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy Python app
uses: appleboy/ssh-action@master
with:
host: ${{secrets.SSH_HOST}}
username: ${{ secrets.SSH_USERNAME }}
password: ${{ secrets.SSH_PASSWORD }}
script: |
cd $HOME/www/Kozlovskiy/
git fetch origin master
git reset --hard origin/master
curl --basic --user "${{ secrets.ALWAYSDATA_TOKEN }} account=${{ secrets.ALWAYSDATA_ACCOUNT }}:" --request POST https://api.alwaysdata.com/v1/site/${{ secrets.ALWAYSDATA_SITE_ID }}/restart/