Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

Commit 2ee8d93

Browse files
authored
Change Python Version in 'vercel.json'
Link: simonw/datasette-publish-vercel#68 Signed-off-by: Stefan Kühnel [EDU] <73970946+stefanzone@users.noreply.github.com>
1 parent 4238ef9 commit 2ee8d93

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/vercel.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@ jobs:
2525
run: curl -Lo collection.csv https://docs.google.com/spreadsheets/d/1by2mZB4-ixVfRAu-_mcRxyQEJGuSfbzPkh-AlrUPCLY/export?format=csv
2626
- name: Create SQLite Database
2727
run: sqlite-utils insert collection.db collection collection.csv --csv
28+
- name: Generate 'vercel.json'
29+
run: |
30+
datasette publish vercel collection.db \
31+
--project naruto-shippuden-datasette-stefan-dev-de \
32+
--metadata metadata.json \
33+
--generate-vercel-json > vercel.json
34+
35+
sed -i 's/@vercel\/python@3\.0\.7/@vercel\/python@5.0.10/g' vercel.json
2836
- name: Deploy to Vercel
2937
env:
3038
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
@@ -35,6 +43,7 @@ jobs:
3543
--token $VERCEL_TOKEN \
3644
--project naruto-shippuden-datasette-stefan-dev-de \
3745
--install datasette-render-image-tags \
46+
--vercel-json vercel.json \
3847
--public
3948
- name: Delete Previous Release
4049
continue-on-error: true

0 commit comments

Comments
 (0)