Skip to content

lizheming/drone-deta

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drone-deta

BuildStatus Docker Pulls

logo

Deploying to Deta with Drone CI

Environment

  • SPACE_ACCESS_TOKEN: Deta access token. How to get Deta access token?
  • SPACE_ID: project id of an existing project
  • SPACE_TAG: tag to identify this push
  • SPACE_DIR: src of project to push (default "./")
  • SPACE_LISTED: listed on discovery
  • SPACE_NOTES: release notes
  • SPACE_RID: revision id for release
  • SPACE_VERSIION: version for the release
  • SPACE_RELEASE: set false if you just want push and don't want release action

Usage

docker run --rm \
  -e SPACE_ACCESS_TOKEN=access_token \
  -e SPACE_ID=id \
  lizheming/drone-deta

Drone configuration examples

steps:
- name: deta
  image: lizheming/drone-deta
  settings:
    access_token:
      from_secret: space_access_token
    id: test-id