Skip to content

Commit

Permalink
Update ci.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
davronkhamdamov authored Feb 28, 2024
1 parent e58b79c commit 1d1fc9e
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
name: Build test


on:
push:
braches:
- main
pull_request:
branches:
- master

branches: [ main ]
pull_request:
branches: [ main ]

env:
DATABASE_URL: ${{ secrets.DATABASE_URL }}
NEXT_APP_TELEGRAM_BOT_TOKEN: ${{ secrets.NEXT_APP_TELEGRAM_BOT_TOKEN }}
NEXT_APP_CHAT_ID: ${{ secrets.NEXT_APP_CHAT_ID }}

jobs:
build:
runs-on: ubuntu-latest
env: DATABASE_URL:${{ secrets.DATABASE_URL }}
NEXT_APP_TELEGRAM_BOT_TOKEN :${{ secrets.NEXT_APP_TELEGRAM_BOT_TOKEN }}
strategy:
matrix:
node-version: [18, 20]
Expand Down

0 comments on commit 1d1fc9e

Please sign in to comment.