Skip to content

feat: Add review doc #13

feat: Add review doc

feat: Add review doc #13

Workflow file for this run

name: deploy
on:
workflow_dispatch:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
deploy-back:
runs-on: ubuntu-20.04
steps:
- name: Deploy
uses: appleboy/[email protected]
with:
host: '${{ secrets.HOST }}'
username: '${{ secrets.USER }}'
port: '${{ secrets.PORT }}'
password: '${{ secrets.PASS }}'
command_timeout: 200m
script: |
cd sad/MiniKafka
git checkout master
git pull origin master
cd broker
docker build -t minikafka:broker .
cd ../
docker compose up --build -d