From 3c4c9a625fcd1a095842188fb62d321f26d0bb8d Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Thu, 29 Jul 2021 00:03:45 +0800 Subject: [PATCH] Delete `docs` directly, not `api/docs` --- .github/workflows/deploy-apidocs.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-apidocs.yml b/.github/workflows/deploy-apidocs.yml index 4edf916d1a27..b3aab2a1c83a 100644 --- a/.github/workflows/deploy-apidocs.yml +++ b/.github/workflows/deploy-apidocs.yml @@ -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 @@ -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 @@ -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