We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
cron.yaml
1 parent dc2ed43 commit c5dc37cCopy full SHA for c5dc37c
index.js
@@ -1,4 +1,4 @@
1
-import { existsSync, readFileSync, writeFileSync } from "node:fs";
+import { copyFileSync, existsSync, readFileSync, writeFileSync } from "node:fs";
2
import { join, posix } from "node:path";
3
import { fileURLToPath } from "node:url";
4
import YAML from "yaml";
@@ -195,6 +195,11 @@ export default function entrypoint(options = {}) {
195
}),
196
);
197
198
+ // Copy cron.yaml if it exists
199
+ if (existsSync("cron.yaml")) {
200
+ copyFileSync("cron.yaml", join(out, "cron.yaml"));
201
+ }
202
+
203
builder.log.success(
204
`To deploy, run "gcloud app deploy --project <CLOUD_PROJECT_ID> ${out}/app.yaml"`,
205
0 commit comments