phuochungus's picture
update github action
6dc0829
raw history blame
No virus
678 Bytes
name: Deploy
on:
workflow_dispatch:
push:
branches:
- DA1
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.8 and install dependencies
uses: actions/setup-python@v3
with:
python-version: "3.8"
cache: "pip"
- run: pip install -r app/requirements.txt
- name: install apt dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: wget
- name: download model
run: |
wget -P ./model $MODEL_URL
env:
MODEL_URL: ${{secrets.MODEL_URL}}