aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/deploy.yml19
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
new file mode 100644
index 0000000..8a7a16b
--- /dev/null
+++ b/.github/workflows/deploy.yml
@@ -0,0 +1,19 @@
+name: Deploy
+on: [push]
+jobs:
+ build-and-deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout 🛎️
+ uses: actions/[email protected]
+
+ - name: Install and Build 🔧
+ run: |
+ cargo install mdbook
+ mdbook build
+
+ - name: Deploy 🚀
+ uses: JamesIves/[email protected]
+ with:
+ branch: gh-pages
+ folder: book