Add bilan project #104
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |