diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index d0b8a08..c4da732 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -22,16 +22,16 @@ jobs: - name: Set up Docker Buildx uses: https://github.com/docker/setup-buildx-action@v3 -# - name: Login to Docker Hub -# uses: https://github.com/docker/login-action@v3 -# with: -# registry: gitea.mrdev023.fr -# username: ${{ secrets.USERNAME }} -# password: ${{ secrets.PASSWORD }} -# -# - name: Build and push -# uses: https://github.com/docker/build-push-action@v5 -# with: -# context: . -# push: true -# tags: gitea.mrdev023.fr/florian.richer/portfolio:latest \ No newline at end of file + - name: Login to Docker Hub + uses: https://github.com/docker/login-action@v3 + with: + registry: gitea.mrdev023.fr + username: ${{ secrets.USERNAME }} + password: ${{ secrets.PASSWORD }} + + - name: Build and push + uses: https://github.com/docker/build-push-action@v5 + with: + context: . + push: true + tags: gitea.mrdev023.fr/florian.richer/portfolio:latest \ No newline at end of file diff --git a/Cargo.lock b/Cargo.lock index 36cd8af..1831ba7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1797,7 +1797,7 @@ checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" [[package]] name = "portfolio" -version = "0.1.0" +version = "0.1.1" dependencies = [ "actix-files", "actix-web", diff --git a/Cargo.toml b/Cargo.toml index 239d3fc..dccdc06 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "portfolio" -version = "0.1.0" +version = "0.1.1" edition = "2021" [lib] diff --git a/src/lib.rs b/src/lib.rs index 9355e27..346a48f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,6 +13,7 @@ cfg_if! { console_error_panic_hook::set_once(); logging::log!("hydrate mode - hydrating"); + logging::log!("Portfolio version : {}", env!("CARGO_PKG_VERSION")); leptos::mount_to_body(|| { view! { }