Skip to content

Commit

Permalink
feat: add docusaurus CI (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
rorleth authored Apr 5, 2024
1 parent aa08be8 commit 0bf2516
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,3 +152,21 @@ jobs:
- name: Build example for iOS
run: |
yarn turbo run build:ios --cache-dir="${{ env.TURBO_CACHE_DIR }}"
deploy-docsite:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Docusaurus website
run: |
cd docsite
yarn install
yarn run build
- name: Deploy to GitHub Pages
if: success()
uses: crazy-max/ghaction-github-pages@v4
with:
target_branch: gh-pages
build_dir: docsite/build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0bf2516

Please sign in to comment.