mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
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
27 lines
638 B
Plaintext
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; |