Skip to content

Add Windows support #43

Add Windows support

Add Windows support #43

Workflow file for this run

name: Documentation
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Install Dependencies
if: runner.os == 'macOS'
run: brew install gnu-sed
- name: Install D compiler
uses: dlang-community/setup-dlang@v1
with:
compiler: ldc-1.35.0-beta1
- name: Build Documentation
run: make docs
- name: GitHub Pages
if: success() && github.ref == 'refs/heads/master'
uses: crazy-max/ghaction-github-pages@v2.1.2
with:
target_branch: gh-pages
build_dir: docs
keep_history: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}