Skip to content

Commit 07a3aaf

Browse files
committed
Merge branch '3.0.x' into 3.1.x
2 parents 2855259 + f21838a commit 07a3aaf

File tree

4 files changed

+43
-9
lines changed

4 files changed

+43
-9
lines changed

.github/workflows/notify-on-release.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,33 @@ on:
44
release:
55
types: [published]
66

7+
env:
8+
NOTIFY_MESSAGE: |
9+
We released ${{ github.event.release.tag_name }} of ${{ github.event.repository.name }}! See here for the changelog: ${{ github.event.release.html_url }}
10+
#PHP #DDD #EventSourcing #Symfony
11+
712
jobs:
813
twitter:
914
runs-on: ubuntu-latest
1015
steps:
11-
- uses: eomm/why-don-t-you-tweet@v1
16+
- uses: eomm/why-don-t-you-tweet@v2
1217
if: ${{ !github.event.repository.private }}
1318
with:
1419
# GitHub event payload
1520
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release
16-
tweet-message: "New ${{ github.event.repository.name }} release ${{ github.event.release.tag_name }}! ${{ github.event.release.html_url }}"
21+
tweet-message: ${{ env.NOTIFY_MESSAGE }}
1722
env:
1823
TWITTER_CONSUMER_API_KEY: ${{ secrets.TWITTER_CONSUMER_API_KEY }}
1924
TWITTER_CONSUMER_API_SECRET: ${{ secrets.TWITTER_CONSUMER_API_SECRET }}
2025
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
2126
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
2227

23-
mastadon:
28+
mastodon:
2429
runs-on: ubuntu-latest
2530
steps:
2631
- uses: cbrgm/mastodon-github-action@v2
2732
if: ${{ !github.event.repository.private }}
2833
with:
29-
message: "New ${{ github.event.repository.name }} release ${{ github.event.release.tag_name }}! ${{ github.event.release.html_url }}"
30-
env:
31-
MASTODON_URL: ${{ secrets.MASTODON_URL }}
32-
MASTODON_ACCESS_TOKEN: ${{ secrets.MASTODON_ACCESS_TOKEN }}
34+
message: ${{ env.NOTIFY_MESSAGE }}
35+
access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}
36+
url: ${{ secrets.MASTODON_URL }}

docs/mkdocs.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
22

3-
site_name: Event Sourcing Bundle
3+
site_name: Event Sourcing Symfony Bundle
4+
site_description: A lightweight but also all-inclusive event sourcing bundle with a focus on developer experience and based on doctrine dbal.
5+
site_author: patchlevel
46
site_url: https://event-sourcing-bundle.patchlevel.io/
57
repo_url: https://github.com/patchlevel/event-sourcing-bundle
68
repo_name: patchlevel/event-sourcing-bundle
@@ -9,7 +11,7 @@ docs_dir: pages
911

1012
extra:
1113
meta:
12-
title: Event Sourcing Bundle
14+
title: Event Sourcing Symfony Bundle
1315
description: An event sourcing bundle, complete with all the essential features, powered by the reliable Doctrine ecosystem and focused on developer experience.
1416
image: img/patchlevel-banner.png
1517
social:
@@ -21,6 +23,9 @@ extra:
2123
link: https://twitter.com/patchlevelhq
2224
version:
2325
provider: mike
26+
alias: true
27+
analytics:
28+
provider: custom
2429

2530
extra_css:
2631
- stylesheets/extra.css
@@ -53,6 +58,10 @@ theme:
5358
icon: material/brightness-4
5459
name: Switch to light mode
5560

61+
plugins:
62+
- mike:
63+
canonical_version: latest
64+
5665
markdown_extensions:
5766
- meta
5867
- pymdownx.highlight:

docs/overrides/main.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,17 @@
22

33
{% block extrahead %}
44
<meta name="description" content="{{ config.extra.meta.description }}">
5+
<meta name="keywords" content="event sourcing, php, ddd, symfony" />
56
<meta property="og:type" content="website">
67
<meta property="og:url" content="{{ config.site_url }}">
78
<meta property="og:title" content="{{ config.extra.meta.title }}">
89
<meta property="og:description" content="{{ config.extra.meta.description }}">
910
<meta property="og:image" content="{{ config.site_url }}{{ config.extra.meta.image }}">
11+
{% endblock %}
12+
13+
{% block outdated %}
14+
You're not viewing the latest version.
15+
<a href="{{ '../' ~ base_url }}">
16+
<strong>Click here to go to latest.</strong>
17+
</a>
1018
{% endblock %}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<script>
2+
var _paq = window._paq = window._paq || [];
3+
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
4+
_paq.push(['trackPageView']);
5+
_paq.push(['enableLinkTracking']);
6+
(function() {
7+
var u="//matomo.patchlevel.de/";
8+
_paq.push(['setTrackerUrl', u+'matomo.php']);
9+
_paq.push(['setSiteId', '2']);
10+
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
11+
g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
12+
})();
13+
</script>

0 commit comments

Comments
 (0)