Skip to content

Publish Documentation #16

Publish Documentation

Publish Documentation #16

Workflow file for this run

# Publish Documentation
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: swift:5.9
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync
- name: Install Mint
run: |
git clone https://github.com/yonaskolb/Mint.git
cd Mint
swift run mint install yonaskolb/mint
cd ..
rm -rf Mint
echo "/root/.mint/bin" >> $GITHUB_PATH
- name: Build docc
run: |
mint install apple/swift-docc@main
- name: Build
env:
DOCC: docc
run: |
./scripts/build-docc.sh
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/hummingbird-docs
target-folder: docs