Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Update Starbucks store data (#1008) #332

Update Starbucks store data (#1008)

Update Starbucks store data (#1008) #332

Workflow file for this run

name: Deploy Datasette
on:
push:
branches:
- master
workflow_dispatch:
inputs:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v2
# We need full history to introspect created/updated:
with:
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.8
- uses: actions/cache@v2
name: Configure pip caching
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install datasette datasette-publish-vercel
- name: Deploy Datasette using Vercel
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
run: |-
datasette publish vercel cn-starbucks.sqlite \
--token $VERCEL_TOKEN \
--project cn-starbucks \
--public