Skip to content

Commit c1bf2e9

Browse files
committed
Merge branch 'tr-localize' into develop
# Conflicts: # .github/workflows/s3-deploy-development.yml
2 parents b771b38 + 9468fc9 commit c1bf2e9

2 files changed

Lines changed: 5 additions & 25 deletions

File tree

.github/workflows/s3-deploy-development.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,8 @@ on:
33
push:
44
branches:
55
- develop
6-
workflow_run:
7-
workflows: ["Translate docs"]
8-
types: [completed]
9-
branches: [develop]
106
jobs:
11-
check-internal-links:
12-
name: Check internal links
13-
runs-on: ubuntu-latest
14-
if: github.event_name == 'push' || github.event.workflow_run.conclusion == 'success'
15-
steps:
16-
- uses: actions/checkout@v4
17-
with:
18-
fetch-depth: 0
19-
- uses: actions/setup-node@v4
20-
with:
21-
node-version: 20
22-
- run: npm install github-slugger
23-
- run: node scripts/check-links/index.mjs --diff --base=last-development-deploy --internal-only
24-
257
build-en:
26-
needs: check-internal-links
278
runs-on: ubuntu-latest
289
steps:
2910
- uses: actions/checkout@v4
@@ -48,7 +29,7 @@ jobs:
4829
- run: npm ci
4930

5031
- name: Build English only
51-
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=none astro build
32+
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=none npx astro build
5233

5334
- name: Generate markdown exports
5435
run: npm run build:md:prod
@@ -60,7 +41,6 @@ jobs:
6041
retention-days: 1
6142

6243
build-locale:
63-
needs: check-internal-links
6444
runs-on: ubuntu-latest
6545
strategy:
6646
matrix:
@@ -88,7 +68,7 @@ jobs:
8868
- run: npm ci
8969

9070
- name: Build locale ${{ matrix.locale }}
91-
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=${{ matrix.locale }} astro build
71+
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=${{ matrix.locale }} npx astro build
9272

9373
- uses: actions/upload-artifact@v4
9474
with:

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
- run: npm ci
8181

8282
- name: Build English only
83-
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=none astro build
83+
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=none npx astro build
8484

8585
- name: Generate markdown exports
8686
run: npm run build:md:prod
@@ -120,7 +120,7 @@ jobs:
120120
- run: npm ci
121121

122122
- name: Build locale ${{ matrix.locale }}
123-
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=${{ matrix.locale }} astro build
123+
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=${{ matrix.locale }} npx astro build
124124

125125
- uses: actions/upload-artifact@v4
126126
with:
@@ -204,7 +204,7 @@ jobs:
204204
- run: npm ci
205205

206206
- name: Build locale ${{ matrix.locale }}
207-
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=${{ matrix.locale }} astro build
207+
run: ASTRO_TELEMETRY_DISABLED=1 BUILD_LOCALES=${{ matrix.locale }} npx astro build
208208

209209
- uses: actions/upload-artifact@v4
210210
with:

0 commit comments

Comments
 (0)