From 5b4baf5a93c27f317565f99b2be8cd8773092f25 Mon Sep 17 00:00:00 2001 From: Rodrigue Chakode Date: Tue, 2 Feb 2021 23:05:58 +0100 Subject: [PATCH] fixed GA variable during CI --- .github/workflows/deploy.yml | 2 +- config.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 579e557..3a3f417 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,7 +23,7 @@ jobs: HOSTING_ANALYTICS_ID: ${{ secrets.HOSTING_ANALYTICS_ID }} run: | sed -i 's/HOSTING_RE_CAPTCHA_SITE_KEY/'$HOSTING_RE_CAPTCHA_SITE_KEY'/' config.toml - sed -i 's/HOSTING_RE_CAPTCHA_SITE_KEY/'$HOSTING_RE_CAPTCHA_SITE_KEY'/' config.toml + sed -i 's/HOSTING_ANALYTICS_ID/'$HOSTING_ANALYTICS_ID'/' config.toml hugo --minify - name: deploy diff --git a/config.toml b/config.toml index fd990a6..d325f48 100644 --- a/config.toml +++ b/config.toml @@ -18,5 +18,5 @@ enableGitInfo = true favicon = "/images/favicon.ico" contactRequestApiEndpoint = "https://krossboard-mx.ey.r.appspot.com/sendmail" reCaptchaSiteKey = "HOSTING_RE_CAPTCHA_SITE_KEY" - googleAnalytics = "HOSTING_FTP_PASSWORD" + googleAnalytics = "HOSTING_ANALYTICS_ID"