[Blog] SeaQuery 1.0 blog (#150) #627
This file contains hidden or 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: Deploy | |
on: | |
push: | |
paths-ignore: | |
- '.github/ISSUE_TEMPLATE/**' | |
branches: | |
- master | |
concurrency: | |
group: seaql.github.io | |
cancel-in-progress: false | |
env: | |
YARN_IGNORE_NODE: 1 | |
YARN_ENABLE_IMMUTABLE_INSTALLS: false | |
NODE_OPTIONS: --openssl-legacy-provider | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- uses: threeal/[email protected] | |
with: | |
version: 3.6.1 | |
cache: false | |
- id: git-log | |
run: echo "message=$(git log --no-merges -1 --oneline)" >> $GITHUB_OUTPUT | |
- run: echo $GITHUB_OUTPUT | |
- name: Deploy Root | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: docs | |
clean: true | |
clean-exclude: | | |
SeaORM | |
SeaORM-X | |
sea-orm-pro | |
blog | |
Seaography | |
SeaStreamer | |
preview | |
- name: Build SeaORM | |
if: ${{ contains(steps.git-log.outputs.message, '[SeaORM]') || contains(steps.git-log.outputs.message, '[full]') }} | |
run: sh build-site.sh SeaORM SeaORM | |
- name: Deploy SeaORM | |
if: ${{ contains(steps.git-log.outputs.message, '[SeaORM]') || contains(steps.git-log.outputs.message, '[full]') }} | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: docs/SeaORM | |
target-folder: SeaORM | |
clean: true | |
- name: Build SeaORM-X | |
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 | |
- name: Deploy SeaORM-X | |
if: ${{ contains(steps.git-log.outputs.message, '[SeaORM-X]') || contains(steps.git-log.outputs.message, '[full]') }} | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: docs/SeaORM-X | |
target-folder: SeaORM-X | |
clean: true | |
- name: Build sea-orm-pro | |
if: ${{ contains(steps.git-log.outputs.message, '[SeaORM-Pro]') || contains(steps.git-log.outputs.message, '[sea-orm-pro]') || contains(steps.git-log.outputs.message, '[full]') }} | |
run: sh build-site.sh sea-orm-pro sea-orm-pro | |
- name: Deploy sea-orm-pro | |
if: ${{ contains(steps.git-log.outputs.message, '[SeaORM-Pro]') || contains(steps.git-log.outputs.message, '[sea-orm-pro]') || contains(steps.git-log.outputs.message, '[full]') }} | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: docs/sea-orm-pro | |
target-folder: sea-orm-pro | |
clean: true | |
- name: Build blog | |
if: ${{ contains(steps.git-log.outputs.message, '[Blog]') || contains(steps.git-log.outputs.message, '[full]') }} | |
run: sh build-site.sh Blog blog | |
- name: Deploy blog | |
if: ${{ contains(steps.git-log.outputs.message, '[Blog]') || contains(steps.git-log.outputs.message, '[full]') }} | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: docs/blog | |
target-folder: blog | |
clean: true | |
- name: Build Seaography | |
if: ${{ contains(steps.git-log.outputs.message, '[Seaography]') || contains(steps.git-log.outputs.message, '[full]') }} | |
run: sh build-site.sh Seaography Seaography | |
- name: Deploy Seaography | |
if: ${{ contains(steps.git-log.outputs.message, '[Seaography]') || contains(steps.git-log.outputs.message, '[full]') }} | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: docs/Seaography | |
target-folder: Seaography | |
clean: true | |
- name: Build SeaStreamer | |
if: ${{ contains(steps.git-log.outputs.message, '[SeaStreamer]') || contains(steps.git-log.outputs.message, '[full]') }} | |
run: sh build-site.sh SeaStreamer SeaStreamer | |
- name: Deploy SeaStreamer | |
if: ${{ contains(steps.git-log.outputs.message, '[SeaStreamer]') || contains(steps.git-log.outputs.message, '[full]') }} | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: docs/SeaStreamer | |
target-folder: SeaStreamer | |
clean: true | |