Skip to content

Commit

Permalink
chore: debug Vercel deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
miklb committed Dec 14, 2024
1 parent 1fadbcd commit a29f2d8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/update-data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '18'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests datasette datasette-publish-vercel geojson-to-sqlite
npm install -g vercel
- name: Run update script
run: python script.py
Expand All @@ -33,6 +39,7 @@ jobs:
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
run: |
vercel pull --yes --environment=production --token=$VERCEL_TOKEN
datasette publish vercel data.db \
--project tampa-dev-coord \
--token $VERCEL_TOKEN \
Expand Down

0 comments on commit a29f2d8

Please sign in to comment.