Fix uptime again
All checks were successful
Build and push container image / build (push) Successful in 12m22s

This commit is contained in:
toast 2024-05-03 06:38:53 +10:00
parent 55297b4360
commit 7f5b074af4
4 changed files with 3 additions and 4 deletions

View File

@ -40,7 +40,6 @@ jobs:
tags: git.toast-server.net/toast/kon:main
build-args: CARGO_TOKEN=${{ secrets.CARGO_TOKEN }}
cache-from: type=registry,ref=git.toast-server.net/toast/kon:main
cache-to: type=inline,mode=max
- name: Deploy update
uses: https://github.com/appleboy/ssh-action@029f5b4aeeeb58fdfe1410a5d17f967dacf36262 # v1.0.3

2
Cargo.lock generated
View File

@ -958,7 +958,7 @@ dependencies = [
[[package]]
name = "kon"
version = "0.2.9"
version = "0.2.10"
dependencies = [
"cargo_toml",
"gamedig",

View File

@ -1,6 +1,6 @@
[package]
name = "kon"
version = "0.2.9"
version = "0.2.10"
edition = "2021"
[dependencies]

View File

@ -4,7 +4,7 @@ use tokenservice_client::TokenServiceApi;
pub static EMBED_COLOR: i32 = 0x5a99c7;
pub static BOT_VERSION: Lazy<String> = Lazy::new(|| {
let cargo_version = cargo_toml::Manifest::from_path(std::env::var("CARGO_MANIFEST_DIR").unwrap()+"/Cargo.toml")
let cargo_version = cargo_toml::Manifest::from_path("./Cargo.toml")
.unwrap()
.package
.unwrap()