From ae4aa6c6f7d64842ff7f716be3b513974ea942fa Mon Sep 17 00:00:00 2001 From: jakubmanczak Date: Sun, 14 Jul 2024 23:45:51 +0200 Subject: [PATCH] github sha pass to docker --- .github/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 0001b6e..f7f9a35 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -15,4 +15,4 @@ jobs: run: | docker stop rustapi || true docker rm rustapi || true - docker run -d -p 2004:2004 -v sqlite:/sqlite -e DBPATH=/sqlite/sqlite.db --name rustapi --restart always rustapi + docker run -d -p 2004:2004 -v sqlite:/sqlite -e DBPATH=/sqlite/sqlite.db -e GITHUB_SHA=$GITHUB_SHA --name rustapi --restart always rustapi