chore(ci): add workflow actions linter to run on workflow modifications #278
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Examples | |
on: | |
push: | |
paths: | |
- '.github/workflows/examples-publish.yml' | |
- '.github/actions/deploy-example.sh' | |
- 'examples/**' | |
branches: | |
- master | |
jobs: | |
clickhouse-multi-tenancy: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/building-an-open-source-data-stack-with-clickhouse-and-cube-workshop/*,examples/building-an-open-source-data-stack-with-clickhouse-and-cube-workshop/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: building-an-open-source-data-stack-with-clickhouse-and-cube-workshop | |
EXAMPLE_FRONTEND_SUBDIRECTORY: dashboard-app-multi-tenancy | |
EXAMPLE_FRONTEND_BUILD_SUBDIRECTORY: dist/ | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
EXAMPLE_CUBE_SKIP: 1 | |
clickhouse-multiple-sources: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/building-an-open-source-data-stack-with-clickhouse-and-cube-workshop/*,examples/building-an-open-source-data-stack-with-clickhouse-and-cube-workshop/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: building-an-open-source-data-stack-with-clickhouse-and-cube-workshop | |
EXAMPLE_FRONTEND_SUBDIRECTORY: dashboard-app-multiple-data-sources | |
EXAMPLE_FRONTEND_BUILD_SUBDIRECTORY: dist/ | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
EXAMPLE_CUBE_SKIP: 1 | |
apollo-federation: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/apollo-federation-with-cube/*,examples/apollo-federation-with-cube/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: apollo-federation-with-cube | |
EXAMPLE_FRONTEND_BUILD_SUBDIRECTORY: dist/ | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
EXAMPLE_CUBE_SKIP: 1 | |
ksql: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/ksql/*,examples/ksql/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: ksql | |
EXAMPLE_FRONTEND_BUILD_SUBDIRECTORY: build/ | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
EXAMPLE_CUBE_SKIP: 1 | |
hasura-remote-schema: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/hasura-remote-schema-with-cube/*,examples/hasura-remote-schema-with-cube/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: hasura-remote-schema-with-cube | |
EXAMPLE_FRONTEND_BUILD_SUBDIRECTORY: dist/ | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
EXAMPLE_CUBE_SKIP: 1 | |
angular-dashboard: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/angular-dashboard-with-material-ui/*,examples/angular-dashboard-with-material-ui/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: angular-dashboard-with-material-ui | |
EXAMPLE_FRONTEND_BUILD_SUBDIRECTORY: dist/dashboard-app | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_ANGULAR_DASHBOARD }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
compare-date-range: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/compare-date-range/*,examples/compare-date-range/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: compare-date-range | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_DATA_RANGE }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
clickhouse-dashboard: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/clickhouse-dashboard/*,examples/clickhouse-dashboard/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: clickhouse-dashboard | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_CLICKHOUSE_DASHBOARD }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
d3-dashboard: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/d3-dashboard/*,examples/d3-dashboard/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: d3-dashboard | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_D3_DASHBOARD }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
data-blending: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/data-blending/*,examples/data-blending/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: data-blending | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_DATA_BLENDING }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
drill-downs: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/drill-downs/*,examples/drill-downs/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: drill-downs | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_DRILL_DOWNS }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
ecom-backend: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/ecom-backend/*,examples/ecom-backend/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: ecom-backend | |
EXAMPLE_FRONTEND_SKIP: 1 | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_ECOM_BACKEND }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
external-rollups: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/external-rollups/*,examples/external-rollups/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: external-rollups | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_EXTERNAL_ROLLUPS }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
hacktoberfest: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/hacktoberfest/*,examples/hacktoberfest/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: hacktoberfest | |
EXAMPLE_FRONTEND_SUBDIRECTORY: dashboard | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_HACKTOBERFEST }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
mapbox: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/mapbox/*,examples/mapbox/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: mapbox | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_MAPBOX }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
react-dashboard: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/react-dashboard/*,examples/react-dashboard/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: react-dashboard | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_REACT_DASHBOARD }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
react-muze: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/react-muze/*,examples/react-muze/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: react-muze | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_REACT_MUZE }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
real-time-dashboard: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/real-time-dashboard/*,examples/real-time-dashboard/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: real-time-dashboard | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_REAL_TIME_DASHBOARD }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
web-analytics: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/web-analytics/*,examples/web-analytics/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: web-analytics | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_WEB_ANALYTICS }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
auth0: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/auth0/*,examples/auth0/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: auth0 | |
CUBE_CLOUD_DEPLOY_AUTH: ${{ secrets.CUBE_CLOUD_DEPLOY_AUTH_AUTH0 }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
bigquery-public-datasets: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/bigquery-public-datasets/*,examples/bigquery-public-datasets/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: bigquery-public-datasets | |
EXAMPLE_CUBE_SKIP: 1 | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
google-charts-moma: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/google-charts-moma/*,examples/google-charts-moma/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: google-charts-moma | |
EXAMPLE_CUBE_SKIP: 1 | |
EXAMPLE_FRONTEND_BUILD_SUBDIRECTORY: public/ | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
deepnote: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/deepnote/*,examples/deepnote/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: deepnote | |
EXAMPLE_CUBE_SKIP: 1 | |
EXAMPLE_FRONTEND_BUILD_SUBDIRECTORY: dist/ | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
EXAMPLE_FRONTEND_SUBDIRECTORY: './' | |
graphql-api-metrics-dashboard: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/graphql-api-metrics-dashboard/*,examples/graphql-api-metrics-dashboard/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: graphql-api-metrics-dashboard | |
EXAMPLE_CUBE_SKIP: 1 | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
EXAMPLE_FRONTEND_SUBDIRECTORY: './' | |
multi-tenant-analytics: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/multi-tenant-analytics/*,examples/multi-tenant-analytics/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: multi-tenant-analytics | |
EXAMPLE_CUBE_SKIP: 1 | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
multitenancy-workshop: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/multitenancy-workshop/*,examples/multitenancy-workshop/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: multitenancy-workshop | |
EXAMPLE_CUBE_SKIP: 1 | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
aws-web-analytics: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/aws-web-analytics/*,examples/aws-web-analytics/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: aws-web-analytics | |
EXAMPLE_CUBE_SKIP: 1 | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
EXAMPLE_FRONTEND_SUBDIRECTORY: 'analytics-dashboard' | |
event-analytics: | |
runs-on: ubuntu-20.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pheel/path-watcher-action@v1 | |
id: modified | |
with: | |
paths: '.github/workflows/examples-publish.yml,.github/actions/deploy-example.sh,examples/event-analytics/*,examples/event-analytics/**' | |
- if: steps.modified.outputs.modified | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 14.x | |
- if: steps.modified.outputs.modified | |
run: .github/actions/deploy-example.sh | |
env: | |
EXAMPLE_SLUG: event-analytics | |
EXAMPLE_CUBE_SKIP: 1 | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
EXAMPLE_FRONTEND_SUBDIRECTORY: 'frontend' |