Skip to content

chore: bump version to 3.6.0 #193

chore: bump version to 3.6.0

chore: bump version to 3.6.0 #193

Workflow file for this run

name: Book
on:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin
key: mdbook
- run: test -f ~/.cargo/bin/mdbook || cargo install mdbook
- run: mdbook build
working-directory: book
- run: cp -r book/book ../book
- run: git checkout -- . && git clean -fd
- run: git fetch && git checkout gh-pages
- run: test ! -d $(echo ${{github.ref}} | cut -d/ -f3) || rm -r $(echo ${{github.ref}} | cut -d/ -f3)
- run: cp -r ../book $(echo ${{github.ref}} | cut -d/ -f3)
- run: git config --local user.name "github-actions[bot]" && git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
- run: git add $(echo ${{github.ref}} | cut -d/ -f3) && git commit --allow-empty -m "Docs build for SOF3/await-generator@${{github.sha}}"
- run: git push