Skip to content

make feathersui-rpc-services optional #48

make feathersui-rpc-services optional

make feathersui-rpc-services optional #48

Workflow file for this run

name: API Reference
on:
push:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: krdlab/setup-haxe@v1
with:
haxe-version: 4.1.5
- name: Set up Haxelib dependencies
run: |
haxelib install lime --quiet
haxelib install openfl --quiet
haxelib install feathersui --quiet
haxelib install feathersui-rpc-services --quiet
haxelib install dox --quiet
haxelib dev feathersui-cairngorm ${{ github.workspace }}
- name: Build API reference
working-directory: docs
run: haxe docs.hxml
- uses: actions/upload-artifact@v4
with:
name: feathersui-cairngorm-docs
path: bin/api/
if-no-files-found: error
- name: Deploy to unstable
if: ${{ github.event_name != 'pull_request' }}
uses: garygrossgarten/github-action-scp@release
with:
local: bin/api
remote: api.feathersui.com/feathersui-cairngorm/unstable
host: ${{ secrets.SSH_HOST }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASS }}