docs: reframe feature guides and mark experimental surfaces (#1760)
* docs: reframe feature guides and mark experimental surfaces * fix: tighten task demo framing * fix: validate experimental page status * docs: anchor experimental office status * fix(ci): isolate Wrangler preview install * docs: complete focused camera example * fix(ci): use valid Wrangler package name
This commit is contained in:
@@ -103,6 +103,13 @@ jobs:
|
||||
echo "::warning::Docs preview deploy is not configured. Add CLOUDFLARE_API_TOKEN as a repository secret and CLOUDFLARE_ACCOUNT_ID as a repository variable."
|
||||
fi
|
||||
|
||||
- name: Prepare isolated Wrangler environment
|
||||
if: steps.cloudflare.outputs.enabled == 'true'
|
||||
run: |
|
||||
mkdir -p landing/wrangler-deploy
|
||||
cd landing/wrangler-deploy
|
||||
npm init --yes
|
||||
|
||||
- name: Deploy preview to Cloudflare Pages
|
||||
id: deploy
|
||||
if: steps.cloudflare.outputs.enabled == 'true'
|
||||
@@ -110,9 +117,11 @@ jobs:
|
||||
with:
|
||||
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
accountId: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
|
||||
workingDirectory: landing
|
||||
workingDirectory: landing/wrangler-deploy
|
||||
packageManager: npm
|
||||
wranglerVersion: 3.90.0
|
||||
command: >-
|
||||
pages deploy out
|
||||
pages deploy ../out
|
||||
--project-name=landing
|
||||
--branch=docs-pr-${{ github.event.pull_request.number }}
|
||||
--commit-dirty=true
|
||||
|
||||
Reference in New Issue
Block a user