From 197974dd3c353bd3c96988a15bc79a8bdc040858 Mon Sep 17 00:00:00 2001 From: shmin Date: Wed, 19 Jun 2024 16:28:30 +0900 Subject: [PATCH] Update deploy-documents-latest.yml --- .github/workflows/deploy-documents-latest.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy-documents-latest.yml b/.github/workflows/deploy-documents-latest.yml index a99c9630ec6..1b51e650fa7 100644 --- a/.github/workflows/deploy-documents-latest.yml +++ b/.github/workflows/deploy-documents-latest.yml @@ -5,11 +5,6 @@ on: branches: - test-actions -env: - DOCFX_FILE: docfx_tizen_docs.json - DEPLOY_BRANCH: gh-pages - CACHE_NAME: docfx-gh-pages-site - jobs: build: @@ -31,7 +26,7 @@ jobs: uses: actions/cache@v2 with: path: _site - key: ${{ env.CACHE_NAME }}-${{ hashFiles('repos/commits') }} + key: docfx-gh-pages-site-${{ hashFiles('repos/commits') }} - name: Build Documents if: steps.cache-site.outputs.cache-hit != 'true' @@ -65,7 +60,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./_site keep_files: true - publish_branch: ${{ env.DEPLOY_BRANCH }} + publish_branch: gh-pages user_name: 'TizenAPI-Bot' user_email: 'tizenapi@samsung.com' - full_commit_message: 'Update documents' \ No newline at end of file + full_commit_message: 'Update documents'