github
id | seq | job | repo | uses | name | with | run | env | if |
---|---|---|---|---|---|---|---|---|---|
138802 | 1 | 27858 | 107914493 | actions/checkout@v3 | |||||
138803 | 2 | 27858 | 107914493 | actions/setup-python@v4 | Set up Python 3.11 | { "python-version": "3.11" } |
|||
138804 | 3 | 27858 | 107914493 | Install dependencies | pip install datasette-publish-vercel | ||||
138805 | 4 | 27858 | 107914493 | Deploy the preview | export BRANCH="${{ github.event.inputs.branch }}" wget https://latest.datasette.io/fixtures.db datasette publish vercel fixtures.db \ --branch $BRANCH \ --project "datasette-preview-$BRANCH" \ --token $VERCEL_TOKEN \ --scope datasette \ --about "Preview of $BRANCH" \ --about_url "https://github.com/simonw/datasette/tree/$BRANCH" | { "VERCEL_TOKEN": "${{ secrets.BRANCH_PREVIEW_VERCEL_TOKEN }}" } |