Skip to content

Instantly share code, notes, and snippets.

@timmmmyboy
Created July 28, 2020 23:18
Show Gist options
  • Save timmmmyboy/9ea0f079ed47513982ac373ac7f7923f to your computer and use it in GitHub Desktop.
Save timmmmyboy/9ea0f079ed47513982ac373ac7f7923f to your computer and use it in GitHub Desktop.
Docsify Auto-Install POC
type: install
id: docsify-github
name: Docsify Git Deploy
description:
text: Docsify is a magical documentation generator that converts markdown files in realtime. This installer is a proof of concept at deploying an environment automatically from URL (currently hard coded but could be a setting to take any repo URL).
categories:
- apps/content-management
- apps/education
nodes:
nodeType: apache2
nodeGroup: cp
cloudlets: 8
extip: false
displayName: Application Server
onInstall:
- deployArchive
actions:
deployArchive:
deploy:
archive: https://github.com/paulhibbitts/env-8452252-ca-reclaim-cloud/archive/master.zip
name: https://github.com/paulhibbitts/env-8452252-ca-reclaim-cloud
context: ROOT
ssl: true
skipNodeEmails: true
success: |
**Site URL**: [https://${env.domain}/](https://${env.domain}/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment