Add notes about stakePools
query being used without params
#1031
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: User Guide | |
on: | |
push: { "branches": [ "master" ] } | |
pull_request: { "branches": [ "master" ] } | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: 📥 Checkout repository | |
uses: actions/[email protected] | |
with: | |
submodules: true | |
- name: 🧰 Setup Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: lts/Gallium | |
- name: 🧰 Download Hugo | |
run: | | |
curl -L https://github.com/gohugoio/hugo/releases/download/v0.76.5/hugo_extended_0.76.5_Linux-64bit.tar.gz | tar xz | |
- name: 🔨 Build TypeScript Doc | |
working-directory: clients/TypeScript | |
run: | | |
yarn install --frozen-lockfile --non-interactive --logevel=error | |
yarn build | |
yarn docs | |
- name: 📸 Build Static Website | |
shell: bash | |
working-directory: docs | |
run: | | |
../hugo -t learn --minify | |
echo "ogmios.dev" > public/CNAME | |
- name: 📘 Publish Artifacts | |
if: matrix.os == 'ubuntu-latest' && github.event_name == 'push' | |
uses: peaceiris/[email protected] | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs/public | |
enable_jekyll: false |