File size: 678 Bytes
d6a03dc
4986f6d
 
 
6dc0829
 
 
4986f6d
 
 
 
 
6dc0829
 
 
 
 
 
 
 
 
 
 
4986f6d
6dc0829
 
 
 
 
4986f6d
6dc0829
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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}}