Skip to content

example&README: PG* types replaced by native names #35

example&README: PG* types replaced by native names

example&README: PG* types replaced by native names #35

Workflow file for this run

# Author: Harrison Ford (@hatf0)
# This CI file has been heavily based off of my work in the Mir project.
name: Build Documentation
on:
push:
branches:
- master
workflow_dispatch:
# Only allow for one job from each actor to run at a time, and cancel any jobs currently in progress.
concurrency:
group: docs-${{ github.actor }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build_docs:
name: Build documentation
runs-on: ubuntu-22.04
permissions:
# Allow this action and this action only to write to the repo itself
contents: write
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup D compiler
uses: dlang-community/setup-dlang@v1.3.0
with:
compiler: dmd-latest
- name: Cache dub dependencies
uses: actions/cache@v4
with:
path: ~/.dub/packages
key: docs-build-${{ hashFiles('**/dub.sdl', '**/dub.json') }}
restore-keys: |
docs-build-
# Not sure if all of these dependencies are needed
- name: Install dependencies
run: sudo apt-get -y update && sudo apt-get -y install libpq-dev libevent-dev
- name: Build documentation
run: |
dub build --build=ddox
shell: bash
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@8817a56e5bfec6e2b08345c81f4d422db53a2cdc
with:
branch: gh-pages
folder: docs