-
Notifications
You must be signed in to change notification settings - Fork 5
46 lines (39 loc) · 1.09 KB
/
pages.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
44
45
46
name: GitHub pages
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
pages:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: '19'
- name: Generate PkgEval badges
run: |
npm install ./tools/pkgeval_badges
node tools/pkgeval_badges/src/cli.js public/pkgeval_badges
- name: Set up Julia
uses: julia-actions/setup-julia@v1
with:
version: '1.10'
- name: Analyse PkgEval data
run: |
julia --project=tools/pkgeval_analysis -e 'using Pkg; Pkg.instantiate()'
julia --project=tools/pkgeval_analysis tools/pkgeval_analysis/main.jl public
env:
GKSwstype: "nul"
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public