Skip to content

Commit

Permalink
Generate website.
Browse files Browse the repository at this point in the history
  • Loading branch information
smimram committed Aug 29, 2023
1 parent 7bcb14d commit acb894c
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ jobs:
run: opam pin add -n .
- name: Install dependencies
run: opam depext -yt metrics
- name: Build and test
run: opam install -t .
- name: Build
run: opam install .
- name: Test
run: opam exec dune test
- name: Download Liquidsoap data
run: git clone -b metrics https://github.com/savonet/liquidsoap.git /tmp/metrics
- name: Generate metrics
Expand All @@ -25,3 +27,11 @@ jobs:
with:
name: metrics
path: metrics.html
- name: Generate website
run: |
mkdir website
cp metrics.html website/index.html
- name: Deploy website
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: website

0 comments on commit acb894c

Please sign in to comment.