Skip to content

Bump banner to Spice.ai OSS v1.0.0-rc.2 (#684) #1584

Bump banner to Spice.ai OSS v1.0.0-rc.2 (#684)

Bump banner to Spice.ai OSS v1.0.0-rc.2 (#684) #1584

name: build_and_publish
on:
push:
branches:
- trunk
tags:
- v*
pull_request:
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
working-directory: spiceaidocs
run: npm install
- name: Build website
working-directory: spiceaidocs
run: npm run build
- name: Deploy
if: ${{ github.event_name != 'pull_request' && startswith(github.ref, 'refs/tags/v') }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./spiceaidocs/build
cname: docs.spiceai.org