Skip to content

Commit b01fd2a

Browse files
committed
Merge branch 'main' into react-scan
2 parents e80ebbe + 53a40ca commit b01fd2a

File tree

21 files changed

+1897
-5990
lines changed

21 files changed

+1897
-5990
lines changed

.github/workflows/publish.yaml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
types: [published]
55
workflow_dispatch:
66

7-
env:
8-
FLY_ORG: ${{ vars.FLY_ORG }}
9-
107
jobs:
118
npm-publish:
129
runs-on: ubuntu-latest
@@ -22,13 +19,22 @@ jobs:
2219
env:
2320
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2421

25-
deploy-preview:
22+
23+
deploy-docs:
2624
name: "🚀 Deploy Docs"
27-
needs: [npm-publish]
28-
uses: forge42dev/workflows/.github/workflows/deploy-to-fly.yaml@monorepo-matrix
29-
with:
30-
workspace_name: docs
31-
set_cwd_to_workspace: true
32-
github_environment: "docs-release"
33-
secrets:
34-
fly_api_token: ${{ secrets.FLY_API_TOKEN }}
25+
runs-on: ubuntu-latest
26+
environment:
27+
name: docs-release
28+
url: ${{ steps.deploy.outputs.app_url }}
29+
steps:
30+
- uses: actions/checkout@v4
31+
- uses: forge-42/fly-deploy@v1.0.0-rc.1
32+
id: deploy
33+
env:
34+
FLY_ORG: ${{ vars.FLY_ORG }}
35+
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
36+
FLY_REGION: fra
37+
with:
38+
workspace_name: docs
39+
app_name: react-router-devtools-docs-release
40+
use_isolated_workspace: true

.github/workflows/validate.yaml

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ on:
88
pull_request:
99
branches: [main]
1010

11-
env:
12-
FLY_ORG: ${{ vars.FLY_ORG }}
13-
1411
permissions:
1512
actions: write
1613
contents: read
@@ -72,14 +69,23 @@ jobs:
7269
# if: always()
7370
# uses: davelosert/vitest-coverage-report-action@v2
7471

75-
76-
deploy-preview:
72+
deploy-docs-pr-preview:
73+
if: ${{ github.event_name == 'pull_request' }}
7774
name: "🚀 Deploy Docs"
7875
needs: [lint, typecheck, vitest]
79-
uses: forge42dev/workflows/.github/workflows/deploy-to-fly.yaml@monorepo-matrix
80-
with:
81-
workspace_name: docs
82-
set_cwd_to_workspace: true
83-
github_environment: "docs-previev"
84-
secrets:
85-
fly_api_token: ${{ secrets.FLY_API_TOKEN }}
76+
runs-on: ubuntu-latest
77+
environment:
78+
name: docs-release
79+
url: ${{ steps.deploy.outputs.app_url }}
80+
steps:
81+
- uses: actions/checkout@v4
82+
- uses: forge-42/fly-deploy@v1.0.0-rc.1
83+
id: deploy
84+
env:
85+
FLY_ORG: ${{ vars.FLY_ORG }}
86+
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
87+
FLY_REGION: fra
88+
with:
89+
workspace_name: docs
90+
app_name: react-router-devtools-docs-pr-${{ github.event.number }}
91+
use_isolated_workspace: true

docs/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"@epic-web/invariant": "^1.0.0",
2727
"@headlessui/react": "^1.7.18",
2828
"@octokit/request": "^8.1.6",
29-
"@react-router/fs-routes": "7.0.0",
30-
"@react-router/node": "7.0.0",
31-
"@react-router/serve": "7.0.0",
29+
"@react-router/fs-routes": "7.1.4",
30+
"@react-router/node": "7.1.4",
31+
"@react-router/serve": "7.1.4",
3232
"@sindresorhus/slugify": "^2.2.1",
3333
"@tsparticles/engine": "^3.3.0",
3434
"@tsparticles/react": "^3.0.0",
@@ -46,7 +46,7 @@
4646
"prismjs": "^1.29.0",
4747
"react": "^18.2.0",
4848
"react-dom": "^18.2.0",
49-
"react-router": "7.0.0",
49+
"react-router": "7.1.4",
5050
"react-spring": "^9.7.3",
5151
"redent": "^4.0.0",
5252
"rehype-slug": "^6.0.0",

0 commit comments

Comments
 (0)