Skip to content

docs: react hooks

docs: react hooks #273

Workflow file for this run

name: github pages
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive # Whether to checkout submodules: `true` to checkout submodules or `recursive` to recursively checkout submodules.
fetch-depth: 1 # Number of commits to fetch. 0 indicates all history for all branches and tags.
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}