-
Notifications
You must be signed in to change notification settings - Fork 4
43 lines (38 loc) · 1.29 KB
/
pfioooouuuu.yml
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
33
34
35
36
37
38
39
40
41
42
43
name: Pfiouuuuuuuu
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Hell
uses: actions/setup-node@v3
with:
node-version: 19
- name: YOCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: 5.1.0
opam-depext-flags: --with-test
- run: (cd hell; npm install; npm run build)
- run: opam install . --deps-only --with-doc --with-test
- run: opam install js_of_ocaml-compiler js_of_ocaml-ppx js_of_ocaml-lwt
- run: opam install nightmare nightmare-tyxml
- run: opam install nightmare_js nightmare_js-vdom
- run: opam install yourbones yourbones-ppx yourbones_js yourbones_js-beacon
- run: opam install yocaml
- run: opam install yocaml_unix yocaml_yaml yocaml_jingoo yocaml_syndication
- run: opam exec -- dune build --profile=release
- run: opam exec -- dune exec bin/capsule_cli/capsule.exe -- build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./www
external_repository: xvw/xvw.github.io
publish_branch: master
enable_jekyll: false