10 - uses: actions/checkout@v2
11 - uses: actions/checkout@v2
13 repository: mdref/mdref-apfd
15 - uses: actions/checkout@v2
17 repository: mdref/mdref-http
19 - uses: actions/checkout@v2
21 repository: mdref/mdref-json_post
23 - uses: actions/checkout@v2
25 repository: mdref/mdref-pq
27 - uses: actions/checkout@v2
29 repository: mdref/mdref-pq-gateway
31 - uses: actions/checkout@v2
33 repository: mdref/mdref-propro
35 - uses: actions/checkout@v2
37 repository: mdref/mdref-raphf
39 - name: Install dependencies
41 sudo apt-get update -y
42 sudo apt-get install -y \
47 libcurl4-openssl-dev \
53 - name: Install referenced php extensions for stubs
55 for ext in raphf pecl_http pq; do
57 curl -sSL -H Accept:application/json replicator.pharext.org?$ext \
58 | jq -r 'to_entries[-1].value.".bz2".phar'
60 curl -sSLO replicator.pharext.org/$phar
61 php $(basename $phar) -qs
63 - name: Install composer dependencies
70 ../bin/ref2html . ../refs/*
71 - name: Generate STUBs
74 for ext in http pq; do
75 ../bin/ref2stub ../refs/$ext
77 - uses: crazy-max/ghaction-github-pages@v2
80 GH_PAT: ${{ secrets.PUBLISH_SECRET }}
85 allow_empty_commit: false
87 repo: mdref/mdref.github.io