Skip to content

Commit 3ab3ade

Browse files
authored
Delete docs directly, not api/docs (#4976)
1 parent e08d548 commit 3ab3ade

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/deploy-apidocs.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
uses: actions/checkout@v2
3333
with:
3434
repository: codeigniter4/api
35-
token: ${{ secrets.ACCESS_TOKEN }}
35+
token: ${{ secrets.GITHUB_TOKEN }}
3636
path: api
3737

3838
- name: Setup PHP
@@ -41,10 +41,6 @@ jobs:
4141
php-version: '8.0'
4242
coverage: none
4343

44-
- name: Install GraphViz for phpDocumentor
45-
run: |
46-
sudo apt-get install -yq graphviz
47-
4844
- name: Download phpDocumentor v3.1
4945
run: |
5046
cd ./source
@@ -56,8 +52,8 @@ jobs:
5652
working-directory: api
5753
run: |
5854
git reset --hard master
59-
rm -rfv api/docs
60-
mkdir --parents --verbose api/docs
55+
rm -rfv docs
56+
mkdir --parents --verbose docs
6157
6258
- name: Build API in source repo
6359
working-directory: source

0 commit comments

Comments
 (0)