simonw / datasette-publish-fly

Datasette plugin for publishing data using Fly
Apache License 2.0
20 stars 7 forks source link

Deployment fails with "incompatible types: TOML value has type string; destination has type integer" #21

Closed dev-zero closed 1 year ago

dev-zero commented 2 years ago

I didn't change anything in the configuration, yet redeployment started to fail:

 datasette publish fly wfms.db --app workflows --metadata metadata.yaml --plugins-dir=plugins/ --static assets:static-files/
  shell: /usr/bin/bash -e {0}
  env:
    FLY_API_TOKEN: ***
    pythonLocation: /opt/hostedtoolcache/Python/3.10.5/x64
    PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.10.5/x64/lib/pkgconfig
    LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.10.5/x64/lib

Error failed loading app config from fly.toml: toml: line 18 (last key "services.ports.port"): incompatible types: TOML value has type string; destination has type integer