ucg/docsite/buckets/ucg-docs.ucg
Jeremy Wall c20190e8e2 Add our documentation site using gutenberg and ucg.
* gutenberg generates the documentation site
* ucg configures the Google cloud storage bucket.
2018-11-17 17:51:18 -06:00

27 lines
632 B
Plaintext

import "../ucglib/globals.ucg" as globals;
import "../ucglib/macros.ucg" as mks;
let doc_bucket_name = "ucg.marzhillstudios.com";
let doc_site_bucket = mks.bucketbase(doc_bucket_name, globals.project, globals.location);
let resources = [
doc_site_bucket{
properties = self.properties{
website = {
notFoundPage = "404.html",
mainPageSuffix = "index.html",
},
},
},
];
let deployment = {
resources = resources,
outputs = [
mks.bucketSelfLink(doc_bucket_name),
mks.bucketGsLink(doc_bucket_name),
],
};
out yaml deployment;