Skip to content

Add structure for new feature entities #25

Add structure for new feature entities

Add structure for new feature entities #25

Workflow file for this run

name: Simple Deploy
on:
push:
branches:
- main # run the Action on push events to the main branch.
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Deploy to VPS
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_IP }}
username: ${{ secrets.SERVER_USER }}
key: ${{ secrets.SSH_PRIVATE_KEY }}
envs: TELEGRAM_TOKEN
script: |
if [ -d $HOME/BotFishingGame ]; then
cd ~/BotFishingGame
git pull origin main
else
git clone https://github.com/Flagro/BotFishingGame.git ~/BotFishingGame
cd ~/BotFishingGame
fi
git pull origin main
cp .env-example .env
echo "TELEGRAM_TOKEN=${{ secrets.TELEGRAM_TOKEN }}" >> .env
sudo ../limited-docker-compose.sh up -d --build