Skip to content

Merge branch 'master' of github.com:reactnativecn/pushy-site #216

Merge branch 'master' of github.com:reactnativecn/pushy-site

Merge branch 'master' of github.com:reactnativecn/pushy-site #216

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