Skip to content

Commit

Permalink
Update generate.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nickwasused committed Oct 31, 2024
1 parent 3bdf271 commit 1b25b04
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,31 +80,27 @@ jobs:
path: out/ov2/

deploy-cf:
needs: [ generate-small-files ]
timeout-minutes: 20
needs: [ fetch ]
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: tmp-data
path: out/json
- uses: actions/download-artifact@v4
with:
name: tmp-data-small-files
path: out/json/other
- uses: actions/setup-python@v5
with:
python-version: '3.12'
cache: 'pip'
- name: install requirements
run: pip install -r requirements.txt
- name: run d1.py
run: python d1.py
env:
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CF_DATABASE_ID: ${{ secrets.CF_DATABASE_ID }}
run: python d1.py

deploy:
needs: [generate-small-files, generate-ov2]
Expand Down

0 comments on commit 1b25b04

Please sign in to comment.