v2.2.21 #336
Workflow file for this run
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: Build and deploy docs | |
on: | |
release: | |
types: [published] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/[email protected] | |
with: | |
ref: release | |
- name: Build docs | |
run: | | |
npm install spectaql | |
npx spectaql --target-dir docs/build docs/config.yml | |
- name: Deploy docs | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs/build |