Skip to content

Commit

Permalink
Merge branch 'develop' into 73-feature-add-matomo-analytics-2
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoistP authored Dec 19, 2024
2 parents 4c4271b + f81f456 commit 8385002
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 8385002

Please sign in to comment.