Skip to content

Merge pull request #4 from lukepistrol/fix/sendable-reloaded #4

Merge pull request #4 from lukepistrol/fix/sendable-reloaded

Merge pull request #4 from lukepistrol/fix/sendable-reloaded #4

name: build-documentation
on:
push:
branches:
- main
paths:
- 'Sources/**'
workflow_dispatch:
jobs:
build-documentation:
runs-on: macOS-13
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Build Documentation
run: exec ./.github/scripts/build-docc.sh
- name: Init Docs Branch
run: |
cd docs
git init
git add -A
git config --local user.email "actions@github.com"
git config --local user.name "GitHub Actions"
git commit -m 'deploy documentation'
- name: Deploy GitHub Pages
uses: ad-m/github-push-action@v0.6.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: docs
force: true
directory: ./docs