Skip to content

upd buuld#2572

Draft
joshbermanssw wants to merge 8 commits intomainfrom
jb/test-offline-build
Draft

upd buuld#2572
joshbermanssw wants to merge 8 commits intomainfrom
jb/test-offline-build

Conversation

@joshbermanssw
Copy link
Copy Markdown
Member

Description

✏️

  • XXX
  • YYY

Screenshot (optional)

✏️

@joshbermanssw
Copy link
Copy Markdown
Member Author

/deploy

joshbermanssw and others added 2 commits April 7, 2026 16:32
- Switch Dockerfile from yarn/npm to pnpm
- Use build-offline script (tinacms build --offline) in Docker
- Set LOCAL_CONTENT_RELATIVE_PATH=content so tinacms reads from the
  content repo cloned by CI into the Docker context
- Keep original build script for backwards compatibility

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The -c sub-command calls process.exit on completion, so postbuild
steps (generate:archived-rules, next-sitemap) must be chained inside
the sub-command string rather than after it.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@joshbermanssw
Copy link
Copy Markdown
Member Author

/deploy

@joshbermanssw
Copy link
Copy Markdown
Member Author

/deploy

localContentPath is resolved relative to the tina/ folder, not the
project root. Changed from 'content' to '../content' so it correctly
resolves to /app/content/ in the Docker image.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@joshbermanssw
Copy link
Copy Markdown
Member Author

/deploy

1 similar comment
@joshbermanssw
Copy link
Copy Markdown
Member Author

/deploy

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

PR Preview Deployed

Preview URL https://app-sswrules-staging-pr-2572.azurewebsites.net/rules
Slot Name pr-2572
Branch jb/test-offline-build
Commit 4fc968bfbc4aa253b27acbaaa5f949e1ae940295

This preview will be automatically deleted when the PR is closed.

@joshbermanssw
Copy link
Copy Markdown
Member Author

/deploy

@joshbermanssw
Copy link
Copy Markdown
Member Author

/deploy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant