Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR]: Add Analytics and vercel setup. #14

Merged
merged 2 commits into from
Aug 15, 2024
Merged

Conversation

LuchoTurtle
Copy link
Member

@LuchoTurtle LuchoTurtle commented Aug 15, 2024

fixes #13

I couldn't get nextra-demo to publish to Github Pages because it's not a fully static website (it has middleware.ts for authentication) - see https://nextjs.org/docs/app/building-your-application/deploying/static-exports#unsupported-features.
So, I created a fork and deployed it to my personal Vercel account.

I know we can't deploy on Vercel as dwyl because you have to pay to be able to do it because this repo is inside an organization. But I believe this is going to be a pain to keep the Vercel site updated while PRs are being made to this repo, because my fork https://github.com/LuchoTurtle/nextra-demo will only be updated when PRs are pushed into its main.

I digress.

This works (I inclusively tested on localhost with https://analytics.dwyl.com and it's working fine).

Screenshot 2024-08-15 at 01 54 39

To appear on https://analytics.dwyl.com, we have to add nextra-demo-seven.vercel.app as a site to it and it will start tracking (after I deploy the site with these changes on my end once this PR is merged).

@LuchoTurtle LuchoTurtle added documentation Improvements or additions to documentation enhancement New feature or enhancement of existing functionality awaiting-review An issue or pull request that needs to be reviewed labels Aug 15, 2024
Copy link

codecov bot commented Aug 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (99e55db) to head (e5d5b00).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines          211       211           
  Branches        30        30           
=========================================
  Hits           211       211           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nelsonic
Copy link
Member

@LuchoTurtle we won't need to update your fork very often. Thanks for deploying it. ✅

Copy link
Member

@nelsonic nelsonic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @LuchoTurtle 👌

@nelsonic nelsonic merged commit 322f93e into dwyl:main Aug 15, 2024
3 checks passed
@LuchoTurtle
Copy link
Member Author

https://analytics.dwyl.com/nextra-demo-seven.vercel.app

Screenshot 2024-08-15 at 11 11 18

Working as expected ✅

@LuchoTurtle LuchoTurtle deleted the plausible branch August 15, 2024 10:12
@nelsonic
Copy link
Member

Thanks @LuchoTurtle. Added the link to the deployed app to the repo. ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-review An issue or pull request that needs to be reviewed documentation Improvements or additions to documentation enhancement New feature or enhancement of existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add https://analytics.dwyl.com to Nextra Demo
2 participants