Skip to content

Commit 246702b

Browse files
authored
Update publish-apidocs.yml
1 parent 103ed5e commit 246702b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/publish-apidocs.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,33 +34,33 @@ jobs:
3434
group: ${{ github.workflow }}-${{ github.ref }}
3535
cancel-in-progress: true
3636
steps:
37-
- uses: actions/checkout@v4
38-
with:
39-
fetch-depth: 0
40-
show-progress: false
37+
#TODO: add theming config and then uncomment this
38+
# Not using anything in this repo yet
39+
# - name: Checkout moodle/phpdoc
40+
# uses: actions/checkout@v4
4141

42-
- name: Checkout Moodle
42+
- name: Checkout moodle/moodle
4343
uses: actions/checkout@v4
4444
with:
4545
repository: moodle/moodle
4646
path: .moodle
47-
show-progress: false
4847

49-
- name: Setup Node
50-
uses: actions/setup-node@v4
51-
with:
52-
node-version-file: '.moodle/.nvmrc'
48+
#NOT USING NODE
49+
#TODO: remove commented out lines
50+
# - name: Setup Node
51+
# uses: actions/setup-node@v4
52+
# with:
53+
# node-version-file: '.moodle/.nvmrc'
5354

5455
- name: Cache phpDocumentor build files
5556
id: phpdocumentor-cache
5657
uses: actions/cache@v4
5758
with:
5859
path: .phpdoc/cache
5960
key: ${{ runner.os }}-phpdocumentor-${{ github.sha }}
60-
restore-keys: |
61-
${{ runner.os }}-phpdocumentor-
61+
restore-keys: ${{ runner.os }}-phpdocumentor-
6262

63-
# TODO: remove the ignores below, they speed up the runs for quick evaluation while we're setting this up
63+
# TODO: remove the ignores below, they speed up the runs for quick evaluation while we're setting this up
6464
- name: Build with phpDocumentor
6565
run: docker run --rm --volume "$(pwd):/data" phpdoc/phpdoc:3 -vv -d .moodle --target .docs --cache-folder .phpdoc/cache --template default --ignore .moodle/libs --ignore .moodle/admin --ignore .moodle/mod --ignore .moodle/blocks
6666

0 commit comments

Comments
 (0)