-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Port release/ci-book to js (also full release/common module)
- Loading branch information
1 parent
661f116
commit 430af4a
Showing
4 changed files
with
178 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env node | ||
|
||
// generate latest documentation for itch using gitbook | ||
// and deploy it to google cloud storage. | ||
|
||
const $ = require('./common') | ||
|
||
$.show_versions(['npm', 'gsutil']) | ||
$($.npm_dep('gitbook', 'gitbook-cli')) | ||
|
||
$.cd('docs', function () { | ||
$($.npm('install')) | ||
$($.sh('gitbook build')) | ||
$($.gcp(`_book/* gs://docs.itch.ovh/itch/${$.build_ref_name()}`)) | ||
}) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters