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
|
- name: deploy
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
settings:
|
settings:
|
||||||
host: 192.168.68.120
|
host: 192.168.68.121
|
||||||
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.120
|
host: 192.168.68.121
|
||||||
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,13 +118,7 @@ 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 {
|
||||||
var defaultValue = DefaultValues.GetValue(key.value.toString());
|
await interaction.reply(`\`${key.value}\`: \`${DefaultValues.GetValue(key.value.toString())}\` <DEFAULT>`);
|
||||||
|
|
||||||
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.8.0"
|
version "20.7.1"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.8.0.tgz#10ddf0119cf20028781c06d7115562934e53f745"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.7.1.tgz#06d732ead0bd5ad978ef0ea9cbdeb24dc8717514"
|
||||||
integrity sha512-LzcWltT83s1bthcvjBmiBvGJiiUe84NWRHkw+ZV6Fr41z2FbIzvc815dk2nQ3RAKMuN2fkenM/z3Xv2QzEpYxQ==
|
integrity sha512-LT+OIXpp2kj4E2S/p91BMe+VgGX2+lfO+XTpfXhh+bCk2LkQtHZSub8ewFBMGP5ClysPjTDFa4sMI8Q3n4T0wg==
|
||||||
|
|
||||||
"@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