feat: add google analytics
This commit is contained in:
1 parent
110c79a05e
commit
1c512e6875
7 files changed
+15
-2
No files matched your search
+2
-1
@@ -8,7 +8,8 @@ function StartContainer {
|
||||
|
||||
$containerName = "blog.stevanfreeborn.com.$containerColor"
|
||||
$postDirEnv = "FilePostServiceOptions__PostsDirectory=wwwroot/posts"
|
||||
$containerId = docker run -d -p 8080 --name $containerName --env $postDirEnv $dockerTag
|
||||
$googleTagEnv = "GoogleAnalyticsTag=$env:GOOGLE_ANALYTICS_TAG"
|
||||
$containerId = docker run -d -p 8080 --name $containerName --env $postDirEnv --env $googleTagEnv $dockerTag
|
||||
|
||||
if ($LASTEXITCODE -ne 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user