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 v=8.0; for b in "" ize -config; do \
42 sudo update-alternatives --set php$b /usr/bin/php$b$v; \
44 sudo apt-get update -y
45 sudo apt-get install -y \
50 libcurl4-openssl-dev \
56 - name: Install referenced php extensions for stubs
58 for ext in raphf pecl_http pq; do
60 curl -sSL -H Accept:application/json replicator.pharext.org?$ext \
61 | jq -r 'to_entries[-1].value.".bz2".phar'
63 curl -sSLO replicator.pharext.org/$phar
64 php $(basename $phar) -qs
66 - name: Install composer dependencies
73 ../bin/ref2html . ../refs/*
74 - name: Generate STUBs
77 for ext in http pq; do
78 ../bin/ref2stub ../refs/$ext
80 - uses: crazy-max/ghaction-github-pages@v2
83 GH_PAT: ${{ secrets.PUBLISH_SECRET }}
88 allow_empty_commit: false
90 repo: mdref/mdref.github.io