Skip to content

Bump to 0.4.23

Bump to 0.4.23 #18

Workflow file for this run

name: Publish API reference
on:
push:
tags:
- '*'
env:
OUTPUT_PATH: ../docs-temp
HOSTING_BASE_PATH: yorkie-ios-sdk
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Generate API reference doc
run: |
swift package --allow-writing-to-directory $OUTPUT_PATH \
generate-documentation --target Yorkie \
--disable-indexing \
--output-path $OUTPUT_PATH \
--transform-for-static-hosting \
--hosting-base-path $HOSTING_BASE_PATH
- uses: actions/checkout@v3
with:
ref: gh-pages
- name: Push API reference doc
run: |
rm -rf docs
mv $OUTPUT_PATH docs
git add docs
git commit -m "Updates for version $GITHUB_REF_NAME"
git push