X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=.github%2Fworkflows%2Fpublish.yml;h=9aff7fb1459de1efbf301e7131574121509f87a5;hb=6fb2bcef6982d1125c45f821e84fe45e16192557;hp=159c031e84bb4a6063189896d89da51f41030618;hpb=5fe4f470faf8e55766713d4347d80910049d13cf;p=mdref%2Fmdref diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 159c031..9aff7fb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -38,6 +38,9 @@ jobs: path: refs/raphf - name: Install dependencies run: | + v=8.0; for b in "" ize -config; do \ + sudo update-alternatives --set php$b /usr/bin/php$b$v; \ + done sudo apt-get update -y sudo apt-get install -y \ php-cli \ @@ -65,14 +68,14 @@ jobs: composer install - name: Generate HTML run: | - mkdir html + mkdir -p html cd html ../bin/ref2html . ../refs/* - name: Generate STUBs run: | cd html for ext in http pq; do - ../bin/ref2stub $ext + ../bin/ref2stub ../refs/$ext done - uses: crazy-max/ghaction-github-pages@v2 if: success() @@ -86,5 +89,3 @@ jobs: build_dir: html repo: mdref/mdref.github.io fqdn: mdref.m6w6.name - dry_run: true -