Skip to content

Commit

Permalink
Checkout submodules in deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fyrk committed Oct 27, 2023
1 parent d088804 commit 4834f52
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Set up Node
uses: actions/setup-node@v3
with:
Expand Down
1 change: 1 addition & 0 deletions src/helpers/plausible.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import * as Sentry from "@sentry/react"
// use client from PR [0]
// until plausible-tracker supports navigator.sendBeacon [1]
// and doesn't break target="_blank" [2]
// when removing, also remove submodules: true from checkout in deploy workflow
// [0] https://github.com/plausible/plausible-tracker/pull/54
// [1] https://github.com/plausible/plausible-tracker/issues/12
// [2] https://github.com/plausible/plausible-tracker/issues/12
Expand Down

0 comments on commit 4834f52

Please sign in to comment.