Skip to content

Commit

Permalink
mnemonic
Browse files Browse the repository at this point in the history
  • Loading branch information
dev2-nomo committed Mar 5, 2024
1 parent 2e8b817 commit 72e3887
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The `nomo-webon-cli` is configured with a file `nomo_cli.config.cjs`.
See the following example for configuring your deployTargets:

```JavaScript
const cacheSigMnemonic = process.env.CACHE_SIGN_MNEMONIC;
const mnemonic = process.env.CACHE_SIGN_MNEMONIC;

const nomoCliConfig = {
deployTargets: {
Expand Down Expand Up @@ -85,7 +85,7 @@ const nomoCliConfig = {
/**
* If set, the cli will generate a signature of the tar.gz-cache.
*/
cacheSigMnemonic,
mnemonic,
},
},
staging: {
Expand Down
2 changes: 1 addition & 1 deletion src/init/interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export interface RawSSHConfig {
publicBaseUrl: string;
sshPort?: number;
hybrid?: boolean;
cacheSigMnemonic?: string;
mnemonic?: string;
}

export interface DeployTargetConfig {
Expand Down
2 changes: 1 addition & 1 deletion src/services/ssh-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function connectAndDeploy(args: {
await extractAndCache({
tarFilePath: args.archive,
});
const mnemonic = args.rawSSH.cacheSigMnemonic;
const mnemonic = args.rawSSH.mnemonic;
if (mnemonic) {
await signWebOn({ manifestPath, tarFilePath: args.archive, mnemonic });
} else {
Expand Down

0 comments on commit 72e3887

Please sign in to comment.