mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-26 13:08:11 +00:00
Upgrade hugo
This commit is contained in:
Executable
+14
@@ -0,0 +1,14 @@
|
||||
#! /usr/bin/env node
|
||||
'use strict';
|
||||
|
||||
const atomicalgolia = require("atomic-algolia");
|
||||
|
||||
console.log('Publishing to algolia', process.env.ALGOLIA_INDEX_NAME);
|
||||
atomicalgolia(process.env.ALGOLIA_INDEX_NAME, '/run/final.algolia.json', {verbose: true}, (err, result) => {
|
||||
console.log(result);
|
||||
if ( err ) {
|
||||
process.exit(1);
|
||||
} else {
|
||||
process.exit(0);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user