Updated README #58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: | |
- main | |
- render-images-for-docs | |
jobs: | |
build: | |
runs-on: macos-13 | |
steps: | |
- name: Checkout Package | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Build documentation | |
run: > | |
swift package --allow-writing-to-directory docs \ | |
generate-documentation \ | |
--target Flow \ | |
--disable-indexing \ | |
--transform-for-static-hosting \ | |
--hosting-base-path /Flow \ | |
--output-path docs | |
- name: Publish documentation to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: docs | |
git-config-name: László Teveli | |
git-config-email: [email protected] |