Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup formatting and naming #71

Merged
merged 6 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/*"]
}
}