Skip to content

Commit 8aebf8c

Browse files
authored
examples: ksqldb deploy (cube-js#5318)
* examples: switch to new netlify site * examples: add ksql example to publish pipeline
1 parent a6c367e commit 8aebf8c

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/workflows/examples-publish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,32 @@ on:
1111

1212
jobs:
1313

14+
15+
ksql:
16+
runs-on: ubuntu-20.04
17+
timeout-minutes: 30
18+
19+
steps:
20+
- uses: actions/checkout@v2
21+
22+
- uses: pheel/path-watcher-action@v1
23+
id: modified
24+
with:
25+
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/ksql/*,examples/ksql/**'
26+
27+
- if: steps.modified.outputs.modified
28+
uses: actions/setup-node@v1
29+
with:
30+
node-version: 14.x
31+
32+
- if: steps.modified.outputs.modified
33+
run: .github/actions/deploy-example.sh
34+
env:
35+
EXAMPLE_SLUG: ksql
36+
EXAMPLE_FRONTEND_BUILD_SUBDIRECTORY: build/
37+
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
38+
EXAMPLE_CUBE_SKIP: 1
39+
1440
hasura-remote-schema:
1541
runs-on: ubuntu-20.04
1642
timeout-minutes: 30
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"siteId": "a8eadf81-20fa-4481-873f-e4044293ab15"
2+
"siteId": "de421c54-b61a-4e2b-9d4e-a8e7c54f0701"
33
}

0 commit comments

Comments
 (0)