This repository has been archived by the owner on May 13, 2024. It is now read-only.
release 5.1.2-alpha.1 #34
Workflow file for this run
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: Deploy Docs | |
on: | |
push: | |
tags: | |
- "*" | |
jobs: | |
build: | |
runs-on: macos-12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Docs | |
run: mkdir docs && rm -rf MembraneVideoroomDemo.xcodeproj MembraneVideoroomDemo.xcworkspace MembraneVideoroomDemo && xcodebuild docbuild -scheme MembraneRTC -destination generic/platform=iOS OTHER_DOCC_FLAGS="--transform-for-static-hosting --output-path docs --hosting-base-path membrane-webrtc-ios" | |
- name: Install coreutils | |
run: brew install coreutils | |
- name: Change PATH | |
run: echo "/usr/local/opt/coreutils/libexec/gnubin" >> $GITHUB_PATH | |
- name: Deploy | |
uses: s0/git-publish-subdir-action@develop | |
env: | |
REPO: self | |
BRANCH: gh-pages | |
FOLDER: docs | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |