We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6d2aa6 commit 16bad80Copy full SHA for 16bad80
.github/workflows/test-deploy.yaml
@@ -55,6 +55,13 @@ jobs:
55
run: |
56
npm run build
57
npm run build:docs
58
+ - name: Build preview docs
59
+ run: |
60
+ cd build/docs/gatsby
61
+ npm install
62
+ cp ../../../docs/config/gatsby-config.js gatsby-config-preview.js
63
+ sed -i 's|pathPrefix: "/execution-apis"|pathPrefix: "/execution-apis/preview/PR${{ github.event.number }}"|g' gatsby-config-preview.js
64
+ gatsby build --prefix-paths --config gatsby-config-preview.js
65
- name: Cache docs build output
66
uses: actions/cache@v4
67
with:
0 commit comments