File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
app/backend/src/main/java/com/microsoft/openai/samples/rag/config Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ jobs:
29
29
id : set-deploy-env
30
30
run : |
31
31
echo "checking branch name [${{github.ref_name}}]"
32
- if [[ ${{github.ref_name}} == 'refs/heads/ main' ]]; then
32
+ if [[ ${{github.ref_name}} == 'main' ]]; then
33
33
echo "main branch detected. Set Development environment"
34
34
echo "DEPLOY_ENVIRONMENT=Development" >> "$GITHUB_OUTPUT"
35
- elif [[ ${{github.ref_name}} == *'refs/heads/ release'* ]]; then
35
+ elif [[ ${{github.ref_name}} == *'release'* ]]; then
36
36
echo "release branch detected. Set Test environment"
37
37
echo "DEPLOY_ENVIRONMENT=Test" >> "$GITHUB_OUTPUT"
38
- elif [[ ${{github.ref_name}} == *'refs/tags/ v'* ]]; then
38
+ elif [[ ${{github.ref_name}} == *'v'* ]]; then
39
39
echo "tag detected. Set Production environment"
40
40
echo "DEPLOY_ENVIRONMENT=Production" >> "$GITHUB_OUTPUT"
41
41
else
Original file line number Diff line number Diff line change 9
9
import org .springframework .context .annotation .Bean ;
10
10
import org .springframework .context .annotation .Configuration ;
11
11
import org .springframework .context .annotation .Profile ;
12
- import org .springframework .util .StringUtils ;
13
12
14
13
@ Configuration
15
14
public class AzureAuthenticationConfiguration {
You can’t perform that action at this time.
0 commit comments