We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b40e12 commit fea31d2Copy full SHA for fea31d2
.github/workflows/deploy.yaml
@@ -35,11 +35,19 @@ jobs:
35
role-duration-seconds: 1200
36
role-to-assume: arn:aws:iam::407839483216:role/admin
37
38
+ - name: Set up cache for pip dependencies
39
+ uses: actions/cache@v4
40
+ with:
41
+ path: ~/.cache/pip
42
+ key: ${{ runner.os }}-pip-${{ hashFiles('app/requirements.txt') }}
43
+
44
+ - name: Install Python dependencies
45
+ working-directory: ./app
46
+ run: pip install -r requirements.txt
47
48
- name: Update knowledge_base.json
49
working-directory: ./app
- run: |
- pip install -r requirements.txt
- python3 get_knowledge_base.py
50
+ run: python3 get_knowledge_base.py
51
52
- name: Deploy
53
uses: DefangLabs/[email protected]
0 commit comments