Skip to content

Update the list of database driver support to include SQLx MariaDB (#… #405

Update the list of database driver support to include SQLx MariaDB (#…

Update the list of database driver support to include SQLx MariaDB (#… #405

Workflow file for this run

name: Deploy
on:
push:
paths-ignore:
- '.github/ISSUE_TEMPLATE/**'
branches:
- master
concurrency:
group: seaql.github.io
cancel-in-progress: false
env:
YARN_IGNORE_NODE: 1
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: yarn set version 3.6.1
- uses: actions/cache@v3
with:
key: ${{ github.repository }}-${{ github.ref_name }}
path: |
~/.yarn
SeaORM/node_modules
SeaORM/.docusaurus
SeaORM/build
SeaORM-X/node_modules
SeaORM-X/.docusaurus
SeaORM-X/build
Blog/node_modules
Blog/.docusaurus
Blog/build
Seaography/node_modules
Seaography/.docusaurus
Seaography/build
SeaStreamer/node_modules
SeaStreamer/.docusaurus
SeaStreamer/build
- id: git-log
run: echo "message=$(git log --no-merges -1 --oneline)" >> $GITHUB_OUTPUT
- run: echo $GITHUB_OUTPUT
- if: ${{ contains(steps.git-log.outputs.message, '[SeaORM]') || contains(steps.git-log.outputs.message, '[full]') }}
run: sh build-site.sh SeaORM SeaORM
- if: ${{ contains(steps.git-log.outputs.message, '[SeaORM-X]') || contains(steps.git-log.outputs.message, '[full]') }}
run: sh build-site.sh SeaORM-X SeaORM-X
- if: ${{ contains(steps.git-log.outputs.message, '[Blog]') || contains(steps.git-log.outputs.message, '[full]') }}
run: sh build-site.sh Blog blog
- if: ${{ contains(steps.git-log.outputs.message, '[Seaography]') || contains(steps.git-log.outputs.message, '[full]') }}
run: sh build-site.sh Seaography Seaography
- if: ${{ contains(steps.git-log.outputs.message, '[SeaStreamer]') || contains(steps.git-log.outputs.message, '[full]') }}
run: sh build-site.sh SeaStreamer SeaStreamer
- uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs
clean: false
clean-exclude: preview