projects
/
mdref
/
mdref
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
move formatting from JS to PHP
[mdref/mdref]
/
.github
/
workflows
/
publish.yml
diff --git
a/.github/workflows/publish.yml
b/.github/workflows/publish.yml
index c39bdcbe446d395aeba047fbe6ba70869c621790..bb0413e97e808db93a25fd3296d1d637174361f4 100644
(file)
--- a/
.github/workflows/publish.yml
+++ b/
.github/workflows/publish.yml
@@
-38,6
+38,9
@@
jobs:
path: refs/raphf
- name: Install dependencies
run: |
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 \
sudo apt-get update -y
sudo apt-get install -y \
php-cli \
@@
-65,7
+68,7
@@
jobs:
composer install
- name: Generate HTML
run: |
composer install
- name: Generate HTML
run: |
- mkdir html
+ mkdir
-p
html
cd html
../bin/ref2html . ../refs/*
- name: Generate STUBs
cd html
../bin/ref2html . ../refs/*
- name: Generate STUBs
@@
-75,7
+78,7
@@
jobs:
../bin/ref2stub ../refs/$ext
done
- uses: crazy-max/ghaction-github-pages@v2
../bin/ref2stub ../refs/$ext
done
- uses: crazy-max/ghaction-github-pages@v2
- if:
success()
+ if:
false
env:
GH_PAT: ${{ secrets.PUBLISH_SECRET }}
with:
env:
GH_PAT: ${{ secrets.PUBLISH_SECRET }}
with:
@@
-86,5
+89,3
@@
jobs:
build_dir: html
repo: mdref/mdref.github.io
fqdn: mdref.m6w6.name
build_dir: html
repo: mdref/mdref.github.io
fqdn: mdref.m6w6.name
- dry_run: true
-