Changed data loading strategy
This commit is contained in:
17
.github/workflows/gh-pages.yml
vendored
17
.github/workflows/gh-pages.yml
vendored
@@ -25,6 +25,23 @@ jobs:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3.6.0
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4.7.0
|
||||
with:
|
||||
python-version: "3.11"
|
||||
|
||||
- name: Install Packages
|
||||
working-directory: ./scripts
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
|
||||
- name: Compile Menu
|
||||
working-directory: ./scripts
|
||||
run: python scrapeToJson.py
|
||||
|
||||
- name: Copy Data File
|
||||
run: cp ./scripts/data.dart ./lib/data.dart
|
||||
# - name: Cache Flutter dependencies
|
||||
# uses: actions/cache@v1
|
||||
# with:
|
||||
|
||||
Reference in New Issue
Block a user