Skip to content

Commit

Permalink
gabisa deploy di staging...
Browse files Browse the repository at this point in the history
  • Loading branch information
pesolosep committed May 25, 2024
1 parent 4776fe8 commit 738aae9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ jobs:

- name: Deploy to GCP
run: |
scp -o StrictHostKeyChecking=no -i ssh-key.pem -r ./docker-compose.yml ./.monitoring ${{ secrets.GCP_USERNAME }}@${{ secrets.GCP_STATIC_IP }}:~/
ssh -o StrictHostKeyChecking=no -i ssh-key.pem ${{ secrets.GCP_USERNAME }}@${{ secrets.GCP_STATIC_IP }} "
sudo docker container rm -f ${{ secrets.CONTAINER_NAME }} || true &&
sudo docker image rm -f ${{ secrets.REGISTRY_USER }}/${{ secrets.IMAGE_NAME }}:${{ secrets.IMAGE_TAG }} || true &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity httpSecurity) throws
authorizeRequests
.requestMatchers("/actuator/prometheus").permitAll() // Allow unauthenticated access
.requestMatchers("/subscription-box/**", "/public/**").permitAll()
.requestMatchers("/**").permitAll()
.requestMatchers("/").permitAll()
.anyRequest().authenticated())
.sessionManagement(session -> session.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
.addFilterBefore(new JWTAuthFilter(jwtUtils), UsernamePasswordAuthenticationFilter.class);
Expand Down

0 comments on commit 738aae9

Please sign in to comment.