Skip to content

Bump async-trait from 0.1.81 to 0.1.82 (#4180) #2614

Bump async-trait from 0.1.81 to 0.1.82 (#4180)

Bump async-trait from 0.1.81 to 0.1.82 (#4180) #2614

Workflow file for this run

name: Hermes Guide
on:
push:
branches:
- master
tags:
- v[0-9]+.*
pull_request:
paths:
- guide/**
# Cancel previous runs of this workflow when a new commit is added to the PR, branch or tag
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
guide:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install mdbook and plugins
uses: taiki-e/install-action@v2
with:
tool: mdbook,mdbook-mermaid,mdbook-template,mdbook-toc
- name: Build guide
run: |
cd guide
mdbook build
# Only deploy guide when releasing a new version of Hermes
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./guide/book