Skip to content

Commit

Permalink
Merge pull request #71 from merkle-open/develop
Browse files Browse the repository at this point in the history
Cleanup formatting and naming
  • Loading branch information
Ramo-Y authored Dec 7, 2023
2 parents f309e33 + dce7c22 commit 09c6114
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/azure-static-web-apps-prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Azure Static Web Apps CI/CD
name: Azure Static Web Apps CI/CD (PROD)

on:
push:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Azure Static Web Apps CI/CD
name: Azure Static Web Apps CI/CD (DEV)

on:
push:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Setting workflow on item creation in sitecore"
date: 2023-12-5 00:00:00 +0100
date: 2023-12-05 00:00:00 +0100
categories:
- Sitecore
tags:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Before you change the pipeline, you must check in the config files created and c
### Set tokens to replace later
If you have several environments that are to be tested, it makes sense to use a configuration file in which the URL is defined as a token that can be replaced for different stages. Here we defined ```$(Target.WebsiteUrl)``` that will be replaced by ```https://www.merkle.com/```, but it could also be something like ```https://www.dev.merkle.com```.

{% highlight ruby %}
{% highlight json %}
"scenarios": [
{
"label": "Merkle DACH Homepage en",
Expand All @@ -195,7 +195,7 @@ If you have several environments that are to be tested, it makes sense to use a
"expect": 0,
"misMatchThreshold" : 0.1,
"requireSameDimensions": true
},
}
{% endhighlight %}

### Create a storage
Expand Down
10 changes: 10 additions & 0 deletions docs/staticwebapp.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,15 @@
"sitecore.merkle.com",
"sitecore.namics.com"
]
},
"responseOverrides": {
"404": {
"rewrite": "/404.html",
"statusCode": 404
}
},
"navigationFallback": {
"rewrite": "/index.html",
"exclude": ["/_framework/*", "/css/*"]
}
}

0 comments on commit 09c6114

Please sign in to comment.