-
Notifications
You must be signed in to change notification settings - Fork 21
34 lines (31 loc) · 853 Bytes
/
Copy pathtinybird.yml
File metadata and controls
34 lines (31 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Tinybird
on:
push:
branches: [main]
paths:
- packages/tinybird/**
- .github/workflows/tinybird.yml
workflow_dispatch:
concurrency:
group: tinybird
cancel-in-progress: false
jobs:
deploy:
name: Deploy
runs-on: blacksmith-2vcpu-ubuntu-2404
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.14
- run: bun install --frozen-lockfile
- name: Deploy data sources, materialized views and endpoints
working-directory: packages/tinybird
env:
TINYBIRD_URL: ${{ vars.TINYBIRD_URL || 'https://api.us-east.aws.tinybird.co' }}
TINYBIRD_TOKEN: ${{ secrets.TINYBIRD_TOKEN }}
run: bun run deploy