Skip to content

Commit

Permalink
Delete docs directly, not api/docs (#4976)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulbalandan authored Jul 28, 2021
1 parent e08d548 commit 3ab3ade
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/deploy-apidocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
uses: actions/checkout@v2
with:
repository: codeigniter4/api
token: ${{ secrets.ACCESS_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
path: api

- name: Setup PHP
Expand All @@ -41,10 +41,6 @@ jobs:
php-version: '8.0'
coverage: none

- name: Install GraphViz for phpDocumentor
run: |
sudo apt-get install -yq graphviz
- name: Download phpDocumentor v3.1
run: |
cd ./source
Expand All @@ -56,8 +52,8 @@ jobs:
working-directory: api
run: |
git reset --hard master
rm -rfv api/docs
mkdir --parents --verbose api/docs
rm -rfv docs
mkdir --parents --verbose docs
- name: Build API in source repo
working-directory: source
Expand Down

0 comments on commit 3ab3ade

Please sign in to comment.