Skip to content

Adding a staging environment for docs - #421

Merged
Metallist1 merged 10 commits into
mainfrom
feature/docs-migration
Oct 21, 2026
Merged

Metallist1 merged 10 commits into
mainfrom
feature/docs-migration

Conversation

@Metallist1

@Metallist1 Metallist1 commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Adding a staging environment for docs.

Now when we merge to main, the changes will deploy to docs-staging.tabulareditor.com which is our PRE environment.

A PR that merged to main will have a gated step to push to Prod. (IE. docs.tabulareditor.com). This should prevent us from pushing code that is incomplete.

@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://blue-island-085db6f03-421.westeurope.6.azurestaticapps.net

@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://blue-island-085db6f03-421.westeurope.6.azurestaticapps.net

@Metallist1 Metallist1 changed the title Feature/docs migration Adding a staging environment for docs Oct 21, 2026
@Metallist1
Metallist1 requested a review from mlonsk October 21, 2026 12:38
@Metallist1
Metallist1 marked this pull request as ready for review October 21, 2026 12:39
@Metallist1
Metallist1 enabled auto-merge (squash) October 21, 2026 12:39
@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://blue-island-085db6f03-421.westeurope.6.azurestaticapps.net

1 similar comment
@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://blue-island-085db6f03-421.westeurope.6.azurestaticapps.net

@mlonsk mlonsk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea overall, but as written there's no working production gate yet, and production no longer waits for the quality checks. Inline comments cover the details. A few points that don't map to a line:

  • Orphaned previews: PRs that are still open when this merges keep their preview environments on the old production SWA, because close_preview now uses the TEST token. They'll need deleting by hand in Azure.
  • Old secret: AZURE_STATIC_WEB_APPS_API_TOKEN_DELIGHTFUL_MUD_081AFFE03 is no longer referenced. Can you confirm AZURE_SWA_TOKEN_PROD points to the same SWA (delightful-mud)? If it does, delete the old secret after merge.
  • Preview limit: which plan is the test SWA on? Free allows 3 preview environments and Standard allows 10. Past that limit, PR preview deploys fail.
  • Custom domain: is docs-staging.tabulareditor.com already bound to the test SWA?
  • Merge: please squash-merge. The history has "Temp fix" / "Temp solution" commits, and the branch name feature/docs-migration doesn't describe the change.

Comment thread .github/workflows/deploy.yml
Comment thread .github/workflows/deploy.yml
Comment thread .github/workflows/deploy.yml Outdated
Comment thread .github/workflows/deploy.yml
Comment thread .github/workflows/deploy.yml
Comment thread .github/workflows/deploy.yml Outdated
Comment thread .github/workflows/deploy.yml
Comment thread .github/workflows/deploy.yml Outdated
Metallist1 and others added 2 commits October 21, 2026 16:13
Co-authored-by: Morten Lønskov <morten.lonskov@tabulareditor.com>
Co-authored-by: Morten Lønskov <morten.lonskov@tabulareditor.com>
@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://blue-island-085db6f03-421.westeurope.6.azurestaticapps.net

1 similar comment
@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://blue-island-085db6f03-421.westeurope.6.azurestaticapps.net

@github-actions

Copy link
Copy Markdown

Azure Static Web Apps: Your stage site is ready! Visit it here: https://blue-island-085db6f03-421.westeurope.6.azurestaticapps.net

@Metallist1
Metallist1 merged commit b392c05 into main Oct 21, 2026
8 checks passed
@Metallist1
Metallist1 deleted the feature/docs-migration branch October 21, 2026 21:17
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.

2 participants