forked from ferrilab/bitvec
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (26 loc) · 954 Bytes
/
gh-pages.yml
File metadata and controls
32 lines (26 loc) · 954 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
################################################################################
# GitHub Action – Pages Deployment #
# #
# This file controls the GitHub Actions pipeline used to deploy static files #
# to GitHub Pages for public view. #
################################################################################
name: GitHub Pages
on:
push:
branches:
- develop
jobs:
deploy:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Setup mdbook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: "latest"
- run: mdbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/book