Skip to content

Commit 339e28b

Browse files
committed
api_refs.yaml: Composer authentication
1 parent 966229f commit 339e28b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/api_refs.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ jobs:
3030
ref: ${{ steps.version_and_branches.outputs.base_branch }}
3131

3232
- name: Build API Refs
33-
# TODO: On 5.0, update tool to handle both PHP & REST APIs
34-
# TODO: Composer auth?
35-
run: tools/php_api_ref/phpdoc.sh
33+
env:
34+
SATIS_NETWORK_KEY: ${{ secrets.SATIS_NETWORK_KEY }}
35+
SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }}
36+
run: |
37+
composer config http-basic.updates.ibexa.co $SATIS_NETWORK_KEY $SATIS_NETWORK_TOKEN
38+
#TODO: On 5.0, update tool to handle both PHP & REST APIs
39+
tools/php_api_ref/phpdoc.sh
3640
3741
- name: Commit
3842
run: |

0 commit comments

Comments
 (0)