Skip to content

Deploy changes by barashF on prod #18

Deploy changes by barashF on prod

Deploy changes by barashF on prod #18

name: Deploy to VPS
run-name: Deploy changes by ${{ github.actor }} on prod
on:
push:
branches:
- master
# - CI_CD
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using password
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
password: ${{ secrets.PASSWORD }}
port: ${{ secrets.PORT }}
script: |
cd HackatonService && git pull origin master && docker compose up --build -d