Skip to content

Initial commit

Initial commit #1

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [master]
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- name: Deploy python bot
uses: appleboy/ssh-action@master
with:
host: ${{secrets.SSH_HOST}}
key: ${{secrets.SSH_KEY}}
username: ${{secrets.SSH_USERNAME}}
script: |
cd /var/www/pb_five_factor_model
git pull
docker build -t pb_five_factor_model .
docker rm -f pb_five_factor_model
docker run -d --env-file .env --name pb_five_factor_model --network network_local pb_five_factor_model