Skip to content

Deploy YOLOv8

Deploy YOLOv8 #1

name: Deploy YOLOv8
on: workflow_dispatch
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.10.9'
- name: Install Python dependencies
uses: py-actions/py-dependency-install@v4
with:
path: "Ray/requirements.txt"
- name: Deploy YOLOv8 to the Ray cluster
id: deploy-yolov8
run: |
cd Ray/deploy
RAY_ADDRESS='http://18.217.15.194:8265' ray job submit --no-wait --working-dir . -- sh deploy_script.sh