Add build version in log
All checks were successful
deploy / docker (push) Successful in 11m27s

This commit is contained in:
Florian RICHER 2023-11-21 23:37:30 +01:00
parent 64b5fdfebd
commit aca074ef01
4 changed files with 16 additions and 15 deletions

View file

@ -22,16 +22,16 @@ jobs:
- name: Set up Docker Buildx - name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3 uses: https://github.com/docker/setup-buildx-action@v3
# - name: Login to Docker Hub - name: Login to Docker Hub
# uses: https://github.com/docker/login-action@v3 uses: https://github.com/docker/login-action@v3
# with: with:
# registry: gitea.mrdev023.fr registry: gitea.mrdev023.fr
# username: ${{ secrets.USERNAME }} username: ${{ secrets.USERNAME }}
# password: ${{ secrets.PASSWORD }} password: ${{ secrets.PASSWORD }}
#
# - name: Build and push - name: Build and push
# uses: https://github.com/docker/build-push-action@v5 uses: https://github.com/docker/build-push-action@v5
# with: with:
# context: . context: .
# push: true push: true
# tags: gitea.mrdev023.fr/florian.richer/portfolio:latest tags: gitea.mrdev023.fr/florian.richer/portfolio:latest

2
Cargo.lock generated
View file

@ -1797,7 +1797,7 @@ checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"
[[package]] [[package]]
name = "portfolio" name = "portfolio"
version = "0.1.0" version = "0.1.1"
dependencies = [ dependencies = [
"actix-files", "actix-files",
"actix-web", "actix-web",

View file

@ -1,6 +1,6 @@
[package] [package]
name = "portfolio" name = "portfolio"
version = "0.1.0" version = "0.1.1"
edition = "2021" edition = "2021"
[lib] [lib]

View file

@ -13,6 +13,7 @@ cfg_if! {
console_error_panic_hook::set_once(); console_error_panic_hook::set_once();
logging::log!("hydrate mode - hydrating"); logging::log!("hydrate mode - hydrating");
logging::log!("Portfolio version : {}", env!("CARGO_PKG_VERSION"));
leptos::mount_to_body(|| { leptos::mount_to_body(|| {
view! { <App/> } view! { <App/> }