Skip to content

Adds integration test for processing of base event types and interfac… #1462

Adds integration test for processing of base event types and interfac…

Adds integration test for processing of base event types and interfac… #1462

Workflow file for this run

name: Docs build and deploy
on:
# run it on push to the default repository branch
push:
branches: [master]
workflow_dispatch:
inputs:
publish_docs:
description: 'Publish docs'
type: boolean
env:
config: Release
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
node_version: 16.x
jobs:
build-and-test-code:
name: Build and deploy docs to Netlify
# use system defined below in the tests matrix
runs-on: ${{ matrix.os }}
strategy:
# define the test matrix
matrix:
# selected operation systems to run CI
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Install .NET 7.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.node_version }}
- name: Build & Deploy docs preview
run: ./build.sh --no-color publish-docs-preview
if: ${{ github.ref != 'refs/heads/master' && github.event.inputs.publish_docs == 'true' }}
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
- name: Build & Deploy docs
run: ./build.sh --no-color publish-docs
if: ${{ github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event.inputs.publish_docs == 'true') }}
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
- name: Generate Algolia DocSearch index
uses: darrenjennings/algolia-docsearch-action@master
if: ${{ github.ref == 'refs/heads/master' && (github.event_name == 'push' || github.event.inputs.publish_docs == 'true') }}
with:
algolia_application_id: ${{ secrets.ALGOLIA_APPLICATION_ID }}
algolia_api_key: ${{ secrets.ALGOLIA_API_KEY }}
file: 'docs/.vitepress/algolia-config.json'