Skip to content

Commit

Permalink
Update build-maven-project.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yvasyliev authored Nov 14, 2023
1 parent 42d50b1 commit 5519fb8
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/build-maven-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on: [ push, pull_request ]
jobs:
build:
runs-on: ubuntu-latest
environment: Test
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -15,4 +16,18 @@ jobs:
distribution: 'corretto'
cache: maven
- name: Build with Maven
run: mvn package
env:
reddit.subreddit: ${{ secrets.REDDIT_SUBREDDIT }}
reddit.client.id: ${{ secrets.REDDIT_CLIENT_ID }}
reddit.client.secret: ${{ secrets.REDDIT_CLIENT_SECRET }}
reddit.password: ${{ secrets.REDDIT_PASSWORD }}
reddit.username: ${{ secrets.REDDIT_USERNAME }}
spring.jpa.hibernate.ddl-auto: ${{ vars.SPRING_JPA_HIBERNATE_DDL_AUTO }}
telegram.admin.id: ${{ secrets.TELEGRAM_ADMIN_ID }}
telegram.bot.token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
telegram.bot.username: ${{ secrets.TELEGRAM_BOT_USERNAME }}
telegram.channel.id: ${{ secrets.TELEGRAM_CHANNEL_ID }}
telegram.channel.name: ${{ secrets.TELEGRAM_CHANNEL_NAME }}
telegram.chat.id: ${{ secrets.TELEGRAM_CHAT_ID }}
telegram.schedule.posting.enabled: ${{ vars.TELEGRAM_SCHEDULE_POSTING_ENABLED }}
run: mvn package

0 comments on commit 5519fb8

Please sign in to comment.