aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-03-18 15:24:15 -0700
committerGitHub <[email protected]>2021-03-18 15:24:15 -0700
commit6970fdbf70b1834118c4a2f06f83d9199d5c8b67 (patch)
treebec8bc5dc9d563ff9d54a568147867927d5111dc /.github/workflows
parentwhirl: :star: (diff)
downloadbook-6970fdbf70b1834118c4a2f06f83d9199d5c8b67.tar.xz
book-6970fdbf70b1834118c4a2f06f83d9199d5c8b67.zip
test: auto deploy
Diffstat (limited to '.github/workflows')
-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