Skip to content

thriftshop-site/deploykey-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thriftshop Deploy Key Manager

Development

  • cp .env.example .env

  • edit .env

GITHUB_ACCESS_TOKEN=

example success response

{
    "data": {
        "id": 47801810,
        "key": "ssh-rsa SOMERANDOMSTRING",
        "url": "https://api.github.com/user/keys/47801810",
        "title": "example.thriftshop.site",
        "verified": true,
        "created_at": "2020-11-14T09:06:12Z",
        "read_only": false
    }
}

example error message

HttpError: Validation Failed: {"resource":"PublicKey","code":"custom","field":"key","message":"key is already in use"}

Deploy

Deploy to Netlify

Set Your Domain In Netlify

  • Go to Settings

  • Click Change Site Name tss-fn-deploykey-manager.thriftshop.site

Production

  • make post request with Needed payload to tss-fn-deploykey-manager.thriftshop.site/api

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published