Skip to content

fix: ignore android/bin/ folder for npm #342

fix: ignore android/bin/ folder for npm

fix: ignore android/bin/ folder for npm #342

Workflow file for this run

name: Generate docs
on:
push:
branches: [master]
jobs:
generate-docs:
name: generate-docs
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Setup Node.js environment
uses: actions/setup-node@v2.1.5
with:
node-version: 16
- name: Install Dependencies
run: |
yarn example && yarn
- name: Build docs
run: yarn docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
commit_message: 'docs: update'
force_orphan: true