Skip to content

Commit

Permalink
update partly-gcloudy, deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
battis committed Feb 4, 2024
1 parent 9ddd626 commit b52cb68
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 47 deletions.
9 changes: 7 additions & 2 deletions bin/deploy.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#!/usr/bin/env node
import gcloud from '@battis/partly-gcloudy';
import cli from '@battis/qui-cli';

await gcloud.init();
await gcloud.app.deploy();
console.log('Deploy complete.');
try {
await gcloud.batch.appEngineDeployAndCleanup({ retainVersions: 2 });
cli.log.info('Deploy complete.');
} catch (e) {
cli.log.error(e);
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"license": "GPL-3.0",
"devDependencies": {
"@battis/eslint-config": "latest",
"@battis/partly-gcloudy": "^0.3.5",
"@battis/partly-gcloudy": "^0.4.0",
"@battis/prettier-config": "latest",
"@battis/qui-cli": "^0.3.9",
"@battis/webpack": "latest",
Expand Down
95 changes: 51 additions & 44 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b52cb68

Please sign in to comment.