Skip to content

Swipl API updates 9.1.19 (#55) #115

Swipl API updates 9.1.19 (#55)

Swipl API updates 9.1.19 (#55) #115

Workflow file for this run

name: Docs
on:
push:
branches:
- master
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install SWI Prolog on Linux
run: |
sudo apt-add-repository ppa:swi-prolog/stable
sudo apt-get update
sudo apt install swi-prolog-nox
- name: Generate docs
run: cargo doc --workspace --no-deps --exclude cargo-swipl --exclude '*example*'
- name: Generate index
run: echo '<!DOCTYPE html><html><head><meta http-equiv="Refresh" content="0; url=https://terminusdb-labs.github.io/swipl-rs/swipl/"/></head></html>' > target/doc/index.html
- name: Deploy to GH pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: target/doc