Skip to content

chore: added -k flag to ignore SSL certificate #361

chore: added -k flag to ignore SSL certificate

chore: added -k flag to ignore SSL certificate #361

Workflow file for this run

# REF: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners
name: Deploy Dev
on:
push:
branches:
- llava-1.5-13b
jobs:
deploy-dev:
runs-on: ubuntu-latest
env:
MODAL_TOKEN_ID: ${{ secrets.MODAL_TOKEN_ID }}
MODAL_TOKEN_SECRET: ${{ secrets.MODAL_TOKEN_SECRET }}
steps:
- name: Checkout own repo
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: Install Python packages
run: pip install modal-client
- name: Deploy FastAPI app
run: cd ${{ github.ref_name }};modal deploy fastapi_app.py
- name: Test FastAPI app
run: "pwd;cd ${{ github.ref_name }};curl -k -X POST -H 'Content-Type: application/json' -d @prompt.json ${{ secrets.LLAVA_1_5_13B_APP_URL }}v1/completions"