Skip to content

Commit bd45c13

Browse files
author
Alex Plischke
authored
fix: ensure correct page history (#2909)
1 parent 2b9b0c6 commit bd45c13

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/deploy-to-production.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ env:
1515
ALGOLIA_APP_ID: ${{secrets.ALGOLIA_APP_ID}}
1616
ALGOLIA_KEY: ${{secrets.ALGOLIA_KEY}}
1717

18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
20+
1821
jobs:
1922
deploy-staging:
2023
runs-on: ubuntu-latest
@@ -24,6 +27,8 @@ jobs:
2427
steps:
2528
- name: Checkout
2629
uses: actions/checkout@v4
30+
with:
31+
fetch-depth: 0 # For correct author and date information on pages.
2732

2833
- name: Setup Node.js
2934
uses: actions/setup-node@v4
@@ -70,6 +75,8 @@ jobs:
7075
steps:
7176
- name: Checkout
7277
uses: actions/checkout@v4
78+
with:
79+
fetch-depth: 0 # For correct author and date information on pages.
7380

7481
- name: Setup Node.js
7582
uses: actions/setup-node@v4

0 commit comments

Comments
 (0)