diff --git a/kube/values-main.yaml b/kube/values-main.yaml index 63ffd5f..c270a08 100644 --- a/kube/values-main.yaml +++ b/kube/values-main.yaml @@ -2,6 +2,8 @@ hugo: image: tag: $ARGO_APP_IMAGE_TAG + env: + HUGO_PARAMS_GITCOMMIT: $ARGO_APP_IMAGE_TAG istio: annotations: link.argocd.argoproj.io/env: https://badhouseplants.net/ diff --git a/kube/values-preview.yaml b/kube/values-preview.yaml index 46b774d..f97ac67 100644 --- a/kube/values-preview.yaml +++ b/kube/values-preview.yaml @@ -19,6 +19,7 @@ env: HUGO_PARAMS_GITBRANCH: $ARGO_APP_BRANCH HUGO_PARAMS_REMARK42URL: https://remark42-$ARGO_APP_HOSTNAME + HUGO_PARAMS_GITCOMMIT: $ARGO_APP_IMAGE_TAG remark42: istio: hosts: diff --git a/src/config.yaml b/src/config.yaml index 7bf6930..a02345a 100644 --- a/src/config.yaml +++ b/src/config.yaml @@ -23,6 +23,7 @@ taxonomies: tag: tags params: GitBranch: main + GitCommit: unknown Remark42ID: remark Remark42URL: https://remark42.badhouseplants.net ShowBreadCrumbs: true diff --git a/src/content/about/_index.md b/src/content/about/_index.md index f70ea11..e9f3b93 100644 --- a/src/content/about/_index.md +++ b/src/content/about/_index.md @@ -11,4 +11,7 @@ I'm not a pro mixing engineer of course, but it's what I'm aiming for. Also, I'm a beatmaker, you can find my bets on this site, just go to the [Beats section]({{< ref "beats" >}}). I'm not leasing them, I want one beat to be used one time by one artist. And again, I'm not a well-known beatmaker, so you can just let me know if you like anything, and we'll figure it out. -> The last build is [![Build Status](https://drone.badhouseplants.net/api/badges/badhouseplants/badhouseplants-net/status.svg?ref=refs/heads/{{< param GitBranch >}})](https://drone.badhouseplants.net/badhouseplants/badhouseplants-net) +--- +### Information about the build +Build from the commit [{{< param GitCommit >}}](https://git.badhouseplants.net/badhouseplants/badhouseplants-net/commit/{{< param GitCommit >}}) +[![Build Status](https://drone.badhouseplants.net/api/badges/badhouseplants/badhouseplants-net/status.svg?ref=refs/heads/{{< param GitBranch >}})](https://drone.badhouseplants.net/badhouseplants/badhouseplants-net)