Compare commits

..

17 Commits

Author SHA1 Message Date
Akulij
85652eda0a test2
All checks were successful
Build && Deploy / cargo build (push) Successful in 53s
2025-05-04 04:35:07 +03:00
Akulij
08d9772861 sad
All checks were successful
Build && Deploy / cargo build (push) Successful in 53s
2025-05-04 04:27:49 +03:00
Akulij
37a4845807 sfalsj
All checks were successful
Build && Deploy / cargo build (push) Successful in 53s
2025-05-04 04:24:25 +03:00
Akulij
473f894d51 @2
All checks were successful
Build && Deploy / cargo build (push) Successful in 52s
2025-05-04 04:16:11 +03:00
Akulij
6443bf8fd7 gdsalgjds§
Some checks are pending
Build && Deploy / cargo build (push) Waiting to run
2025-05-04 04:10:52 +03:00
Akulij
fe7a3bad42 giea
Some checks failed
Build && Deploy / cargo build (push) Failing after 1m29s
2025-05-04 04:04:44 +03:00
Akulij
c92f98eeca v4
Some checks failed
Build && Deploy / cargo build (push) Failing after 1m30s
2025-05-04 04:01:30 +03:00
Akulij
8b34595c76 slfdkj
All checks were successful
Build && Deploy / cargo build (push) Successful in 53s
2025-05-04 03:56:35 +03:00
Akulij
90c9a77965 ceho 2025-05-04 03:55:39 +03:00
Akulij
a39f089d63 cd.yaml: fix hook formating
All checks were successful
Build && Deploy / cargo build (push) Successful in 53s
2025-05-04 03:52:32 +03:00
Akulij
8a1fabeae7 cd.yaml: use deploy webhook
All checks were successful
Build && Deploy / cargo build (push) Successful in 52s
2025-05-04 03:45:50 +03:00
Akulij
2ae58bbf99 cd.yaml: build for gnu not musl
All checks were successful
Build && Deploy / cargo build (push) Successful in 53s
2025-05-04 03:38:48 +03:00
Akulij
61bb4cf7e8 TEST: send test message on start
Some checks failed
Build && Deploy / cargo build (push) Failing after 38s
2025-05-04 03:37:01 +03:00
Akulij
db3ef07dfc cd.yaml: install libssl-dev
Some checks failed
Build && Deploy / cargo build (push) Failing after 38s
2025-05-04 02:43:41 +03:00
Akulij
a5c0115a4d cd.yaml: upload musl target binary as artifact 2025-05-04 02:41:29 +03:00
Akulij
306dc9e515 cd.yaml: install linux musl toolchain
Some checks failed
Build && Deploy / cargo build (push) Failing after 1m16s
2025-05-04 02:39:24 +03:00
Akulij
1e6dff4410 build for linux musl target 2025-05-04 02:38:35 +03:00
2 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,8 @@ jobs:
name: cargo build
runs-on: ubuntu-latest
steps:
- name: Install Ubuntu deps
run: apt install libssl-dev
- name: Restore cached toolchain
id: cache-toolchain
uses: actions/cache/restore@v4
@ -61,6 +63,7 @@ jobs:
name: botrunner
path: target/x86_64-unknown-linux-gnu/release/gongbotrs
- run: echo "Uploaded artifact, URL:" ${{ steps.bot-artifact.outputs.artifact-url }}
- name: Deploy with WebHook
# temporary solutino to hardcode artifact url, because upload-artifact's artifact-url gives wrong one
run: curl http://${{ secrets.SERVER_ADDR }}/hooks/gongbot-deploy?binaryzip='https://git.akulij.ru/akulij/gongbotrs/actions/runs/${{ gitea.run_number }}/artifacts/botrunner'

View File

@ -704,6 +704,7 @@ async fn user_command_handler(
);
match cmd {
UserCommands::Start(meta) => {
bot.send_message(msg.chat.id, "Test2").await?;
if !meta.is_empty() {
user.insert_meta(&mut db, &meta).await?;
}