Deploying to Deta with Drone CI
SPACE_ACCESS_TOKEN
: Deta access token. How to get Deta access token?SPACE_ID
: project id of an existing projectSPACE_TAG
: tag to identify this pushSPACE_DIR
: src of project to push (default "./")SPACE_LISTED
: listed on discoverySPACE_NOTES
: release notesSPACE_RID
: revision id for releaseSPACE_VERSIION
: version for the releaseSPACE_RELEASE
: setfalse
if you just want push and don't want release action
docker run --rm \
-e SPACE_ACCESS_TOKEN=access_token \
-e SPACE_ID=id \
lizheming/drone-deta
steps:
- name: deta
image: lizheming/drone-deta
settings:
access_token:
from_secret: space_access_token
id: test-id