Skip to content

Commit

Permalink
add analytics to build for deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnthompson committed Oct 25, 2024
1 parent 9473161 commit 1c746ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
update-analytics:
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
environment: github-pages # Specify the environment here
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"start-prod": "cross-env ELEVENTY_WATCH=true ELEVENTY_ENV=prod npm-run-all sass-start serve:port --parallel watch:*",
"dev": "cross-env ELEVENTY_ENV=dev npm-run-all analytics sass-build --parallel eleventy",
"debug": "DEBUG=Eleventy* npx @11ty/eleventy",
"build": "npm-run-all sass-build eleventy"
"build": "npm-run-all analytics sass-build eleventy"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 1c746ae

Please sign in to comment.