Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

Commit

Permalink
change GOOGLE_ANALYTICS_ID
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Mar 30, 2020
1 parent df00ee6 commit d8e8a5e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,13 @@ jobs:
- run: yarn install --frozen-lockfile
- run: yarn run test
- run: yarn run generate:deploy --fail-on-page-error
- name: generate
run: |
echo "GOOGLE_ANALYTICS_ID=${{ GOOGLE_ANALYTICS_ID }}" >> .env.production
cat .env.production
yarn run generate:deploy --fail-on-page-error
env:
GOOGLE_ANALYTICS_ID: ${{ secrets.GOOGLE_ANALYTICS_ID }}

- name: Temporarily disable "include administrators" branch protection
uses: benjefferies/branch-protection-bot@master
Expand Down
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const config: Configuration = {
}
},
googleAnalytics: {
id: 'UA-159417676-1'
id: process.env.GOOGLE_ANALYTICS_ID
},
build: {
plugins: [
Expand Down

0 comments on commit d8e8a5e

Please sign in to comment.