ucg/docsite/buckets/ucg-docs.ucg
Jeremy Wall 54faeede5e FEATURE: Imports as expressions.
This is a breaking change for the language. However it makes a number of things
easier. Like importing specific symbols from a file.

adds: #28
2019-01-13 14:10:43 -06:00

27 lines
638 B
Plaintext

let globals = import "../ucglib/globals.ucg";
let mks = import "../ucglib/macros.ucg";
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;