Skip to content

Commit

Permalink
feat: test commit
Browse files Browse the repository at this point in the history
  • Loading branch information
BulatRuslanovich committed Oct 13, 2024
1 parent 10b27b4 commit bfd9e18
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Deploy

on:
workflows: [ "Build dispatcher module", "Build node module" ]
types:
- completed

jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Deploy Application
run: echo "Deploying the application"
4 changes: 2 additions & 2 deletions dispatcher/src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ server:
enabled: false

bot:
uri: ${BOT_URI:https://3ed0-87-117-189-157.ngrok-free.app}
uri: ${BOT_URI:unset}
username: ${BOT_USERNAME:headh_v2_bot}
token: ${BOT_TOKEN:7361235631:AAGgia9VqWY6Q_o1pW2WTaLQ4d6vzLgRcOg}
token: ${BOT_TOKEN:token}

spring:
kafka:
Expand Down
1 change: 1 addition & 0 deletions node/src/main/java/com/bipbup/NodeApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.scheduling.annotation.EnableScheduling;


@EnableCaching
@EnableScheduling
@EnableJpaRepositories("com.bipbup")
Expand Down

0 comments on commit bfd9e18

Please sign in to comment.