Skip to content

Commit

Permalink
docs(Book): Setup Automatic Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Demali-876 committed Nov 16, 2024
1 parent 94f4b77 commit 9d260e6
Show file tree
Hide file tree
Showing 18 changed files with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
name: Regex GitHub Pages
name: Motoko Regex GitHub Pages

on:
push:
branches:
- master

jobs:
deploy:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout code
- name: Checkout the repository
uses: actions/checkout@v2

- name: Install Rust
Expand All @@ -22,11 +22,14 @@ jobs:
- name: Install mdBook
run: cargo install mdbook

- name: Build mdBook
run: mdbook build
- name: Build the book
run: |
cd docs/book
mdbook build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book
publish_dir: ./docs/book

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 9d260e6

Please sign in to comment.