Skip to content

Commit

Permalink
Add Netlify settings for static snapshots (#2265)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-montalvo authored Jun 28, 2024
1 parent 89a9b96 commit 4c68cde
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# netlify.toml
# Basic configuration for a Netlify deployment
[build]
publish = "" # Directory to publish
command = "npx respec -s index.html -o index.html --localhost; npx respec -s accname/index.html -o accname/index.html --localhost; npx respec -s core-aam/index.html -o core-aam/index.html --localhost; npx respec -s dpub-aam/index.html -o dpub-aam/index.html --localhost; npx respec -s dpub-aria/index.html -o dpub-aria/index.html --localhost; npx respec -s graphics-aam/index.html -o graphics-aam/index.html --localhost; npx respec -s graphics-aria/index.html -o graphics-aria/index.html --localhost; npx respec -s svg-aam/index.html -o svg-aam/index.html --localhost; npx respec -s mathml-aam/index.html -o mathml-aam/index.html --localhost"

[[redirects]]
from = "/*"
to = "/index.html"
status = 200

[context.production.environment]
NODE_ENV = "production"

[context.deploy-preview]
NODE_ENV = "Deploy"

[context.branch-deploy.environment]
NODE_ENV = "development"

0 comments on commit 4c68cde

Please sign in to comment.