Skip to content

Commit f187c21

Browse files
committed
try the remaining steps of building the environment
1 parent 69c63af commit f187c21

File tree

1 file changed

+33
-13
lines changed

1 file changed

+33
-13
lines changed

.github/workflows/branch-preview.yaml

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,39 @@ jobs:
1111
build-and-deploy:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: Checkout doc-ja
15-
uses: actions/checkout@v4
16-
with:
17-
path: doc-ja
14+
- name: Checkout phd
15+
uses: actions/checkout@v4
16+
with:
17+
repository: php/phd
18+
path: phd
19+
20+
- name: Checkout doc-base
21+
uses: actions/checkout@v4
22+
with:
23+
repository: php/doc-base
24+
path: doc-base
1825

19-
- name: Checkout phd
20-
uses: actions/checkout@v4
21-
with:
22-
repository: phd/phd
23-
path: phd
26+
- name: Checkout doc-en
27+
uses: actions/checkout@v4
28+
with:
29+
repository: php/doc-en
30+
path: doc-en
2431

25-
- name: Set up PHP
26-
uses: shivammathur/setup-php@v2
27-
with:
28-
php-version: '8.3'
32+
- name: Checkout doc-ja
33+
uses: actions/checkout@v4
34+
with:
35+
path: doc-ja
2936

37+
- name: Set up PHP
38+
uses: shivammathur/setup-php@v2
39+
with:
40+
php-version: '8.3'
41+
42+
- name: Validate and build .manual.xml
43+
run: |
44+
php doc-base/configure.php --with-lang=ja
45+
46+
- name: Render xhtml
47+
run: |
48+
php phd/render.php --docbook doc-base/.manual.xml --package PHP --format xhtml
49+
cat output/php-chunked-xhtml/index.html

0 commit comments

Comments
 (0)