Skip to content

Commit

Permalink
ci: set default_cache_ttl to 2592000
Browse files Browse the repository at this point in the history
  • Loading branch information
ngshiheng committed Feb 16, 2024
1 parent 90aaa67 commit 2e57699
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ run_mym() {

publish_to_vercel() {
echo "Publishing datasette to Vercel..."
datasette publish vercel michelin.db --project=michelin-my-maps --install=datasette-cluster-map --token="$VERCEL_TOKEN" --metadata metadata.json --setting allow_download off
ONE_MONTH=2592000
datasette publish vercel michelin.db --project=michelin-my-maps --install=datasette-cluster-map --token="$VERCEL_TOKEN" --metadata metadata.json --setting allow_download off --setting default_cache_ttl $ONE_MONTH
}

main "$@"

0 comments on commit 2e57699

Please sign in to comment.