Compare commits
1 commit
bfb6bec6c0
...
861c54b315
Author | SHA1 | Date | |
---|---|---|---|
861c54b315 |
3 changed files with 11 additions and 17 deletions
14
.drone.yml
14
.drone.yml
|
@ -7,7 +7,7 @@ steps:
|
|||
- name: deploy
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: 192.168.68.120
|
||||
host: 192.168.68.121
|
||||
username: vylpes
|
||||
password:
|
||||
from_secret: ssh_password
|
||||
|
@ -28,7 +28,7 @@ steps:
|
|||
- name: stage
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: 192.168.68.120
|
||||
host: 192.168.68.121
|
||||
username: vylpes
|
||||
password:
|
||||
from_secret: ssh_password
|
||||
|
@ -54,11 +54,11 @@ steps:
|
|||
- yarn install --frozen-lockfile
|
||||
- yarn build
|
||||
|
||||
# - name: test
|
||||
# image: node
|
||||
# commands:
|
||||
# - yarn install --frozen-lockfile
|
||||
# - yarn test
|
||||
- name: test
|
||||
image: node
|
||||
commands:
|
||||
- yarn install --frozen-lockfile
|
||||
- yarn test
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
|
|
|
@ -118,13 +118,7 @@ export default class Config extends Command {
|
|||
if (setting) {
|
||||
await interaction.reply(`\`${key.value}\`: \`${setting.Value}\``);
|
||||
} else {
|
||||
var defaultValue = DefaultValues.GetValue(key.value.toString());
|
||||
|
||||
if (defaultValue) {
|
||||
await interaction.reply(`\`${key}\`: \`${defaultValue}\` <DEFAULT>`);
|
||||
} else {
|
||||
await interaction.reply(`\`${key}\`: <NONE>`);
|
||||
}
|
||||
await interaction.reply(`\`${key.value}\`: \`${DefaultValues.GetValue(key.value.toString())}\` <DEFAULT>`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -883,9 +883,9 @@
|
|||
integrity sha512-Dd0BYtWgnWJKwO1jkmTrzofjK2QXXcai0dmtzvIBhcA+RsG5h8R3xlyta0kGOZRNfL9GuRtb1knmPEhQrePCEw==
|
||||
|
||||
"@types/node@^20.0.0":
|
||||
version "20.8.0"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.8.0.tgz#10ddf0119cf20028781c06d7115562934e53f745"
|
||||
integrity sha512-LzcWltT83s1bthcvjBmiBvGJiiUe84NWRHkw+ZV6Fr41z2FbIzvc815dk2nQ3RAKMuN2fkenM/z3Xv2QzEpYxQ==
|
||||
version "20.7.1"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.7.1.tgz#06d732ead0bd5ad978ef0ea9cbdeb24dc8717514"
|
||||
integrity sha512-LT+OIXpp2kj4E2S/p91BMe+VgGX2+lfO+XTpfXhh+bCk2LkQtHZSub8ewFBMGP5ClysPjTDFa4sMI8Q3n4T0wg==
|
||||
|
||||
"@types/normalize-package-data@^2.4.1":
|
||||
version "2.4.2"
|
||||
|
|
Loading…
Reference in a new issue