Skip to content

ci: add release action #16

ci: add release action

ci: add release action #16

Workflow file for this run

name: pages
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: setup
run: |
cd example && cp assets/bin/* /usr/local/bin
chmod u+x /usr/local/bin/mdbook* && mdbook build
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./example/book