Skip to content

Commit

Permalink
Add demo dev to security profile (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkemperman-cfa authored Jun 28, 2023
1 parent 796baf7 commit 08d3ca2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy-staging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ jobs:
'ENCRYPTION_KEY=${{ secrets.ENCRYPTION_KEY }}' \
'SPRING_DATASOURCE_USERNAME=${{ secrets.SPRING_DATASOURCE_USERNAME_STAGING }}' \
'SPRING_DATASOURCE_PASSWORD=${{ secrets.SPRING_DATASOURCE_PASSWORD_STAGING }}' \
'DEFAULT_USER=${{ secrets.DEFAULT_USER_STAGING }}' \
'DEFAULT_PASSWORD=${{ secrets.DEFAULT_PASSWORD_STAGING }}' \
'demo=true'
draft-release:
name: Draft a new release
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

@Configuration
@EnableWebSecurity
@Profile({"dev", "demo", "prod"})
@Profile({"prod"})
public class SecurityConfiguration {
@Bean
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import org.springframework.security.web.SecurityFilterChain;

@Configuration
@Profile("test")
@Profile({"test", "demo", "dev"})
public class TestSecurity {
@Bean
public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
Expand Down

0 comments on commit 08d3ca2

Please sign in to comment.