Skip to content

Merge pull request #6 from reactnativecn/dependabot/npm_and_yarn/site… #215

Merge pull request #6 from reactnativecn/dependabot/npm_and_yarn/site…

Merge pull request #6 from reactnativecn/dependabot/npm_and_yarn/site… #215

Workflow file for this run

name: github pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: latest
- name: Build
run: |
cd site && pnpm i && pnpm build && cd -
mv site/out ./
cp CNAME out/
mv agreement out/agreement
cp .nojekyll out/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out