Skip to content

Fixed steps in GettingStarted.md (#39) #99

Fixed steps in GettingStarted.md (#39)

Fixed steps in GettingStarted.md (#39) #99

Workflow file for this run

# Publish Documentation GitHub action
name: Publish Documentation
on:
workflow_dispatch:
push:
branches:
- main
- 2.x.x
env:
HUMMINGBIRD_VERSION: "2.0"
DEPLOY_ROOT_FOLDER: true
jobs:
build:
runs-on: ubuntu-latest
container:
image: swift:5.10
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync bc
- name: Build
run: |
./scripts/build-docc.sh
./scripts/build-sitemap.sh
- name: Deploy Root Folder 🚀
if: ${{ env.DEPLOY_ROOT_FOLDER == 'true' }}
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/
target-folder: docs/
clean-exclude: "*.0"
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/${{ env.HUMMINGBIRD_VERSION }}
target-folder: docs/${{ env.HUMMINGBIRD_VERSION }}