Skip to content

Commit

Permalink
Merge branch '73-feature-add-matomo-analytics-2' of https://github.co…
Browse files Browse the repository at this point in the history
…m/RealToken-Community/dashboard-v2 into 73-feature-add-matomo-analytics-2
  • Loading branch information
BenoistP committed Dec 19, 2024
2 parents 8075629 + 8385002 commit 2ed1368
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ COMMUNITY_API_KEY=
THEGRAPH_API_KEY=
REALTOKENAPI='https://api.realtoken.community/v1/token'
REALTOKENAPI_HISTORY='https://history.api.realtoken.community/'

# Matomo analytics
MATOMO_URL='https://data.realtoken.community/'
# 1: prod
MATOMO_SITE_ID=1
MATOMO_SITE_ID=1
17 changes: 17 additions & 0 deletions .github/workflows/branch-check-preprod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Restrict merges to preprod

on:
pull_request:
branches:
- preprod

jobs:
check-branch:
runs-on: ubuntu-latest
steps:
- name: Check if the source branch is develop
run: |
if [ "${{ github.event.pull_request.head.ref }}" != "develop" ]; then
echo "Pull requests to preprod must come from develop branch."
exit 1
fi
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ THEGRAPH_API_KEY=XXXXXXXXXXXX
REALTOKENAPI='https://api.realtoken.community/v1/token'
REALTOKENAPI_HISTORY='https://history.api.realtoken.community/'
```

OPTIONAL:
Expand Down

0 comments on commit 2ed1368

Please sign in to comment.