Skip to content

Commit 37f608f

Browse files
committed
Enhancement: Use actions/checkout to check out documentation
1 parent 353974c commit 37f608f

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,17 @@ jobs:
3232
coverage: "pcov"
3333
php-version: "${{ matrix.php-version }}"
3434

35-
- name: "Check out PHP documentation with git"
36-
run: sh update.sh
37-
working-directory: "generator/doc"
35+
- name: "Check out salathe/phpdoc-base"
36+
uses: "actions/checkout@v2"
37+
with:
38+
repository: "salathe/phpdoc-base"
39+
path: "generator/doc/doc-en/doc-base"
40+
41+
- name: "Check out php/doc-en"
42+
uses: "actions/checkout@v2"
43+
with:
44+
repository: "php/doc-en"
45+
path: "generator/doc/doc-en/en"
3846

3947
- name: "Cache dependencies installed with composer"
4048
uses: "actions/cache@v1.0.3"

0 commit comments

Comments
 (0)