Skip to content

Commit

Permalink
Generate github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
matijapretnar committed Oct 22, 2020
1 parent d017740 commit cd18fa3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: github pages

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Setup OCaml
uses: avsm/setup-ocaml@v1

- name: Install Opam packages
run: opam install menhir js_of_ocaml js_of_ocaml-ppx

- name: Build
run: opam exec -- make release

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
1 change: 1 addition & 0 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
(using menhir 2.1)
(generate_opam_files true)

(name eff)
(version dev)
(source (github matijapretnar/eff))
(homepage "http://www.eff-lang.org/")
Expand Down

0 comments on commit cd18fa3

Please sign in to comment.