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