diff --git a/.github/workflows/deploy-documents.yml b/.github/workflows/deploy-documents.yml index 1441c79b139..843342aa248 100644 --- a/.github/workflows/deploy-documents.yml +++ b/.github/workflows/deploy-documents.yml @@ -1,5 +1,8 @@ name: "Deploy Documents" +on: + workflow_dispatch: + jobs: build: @@ -16,7 +19,6 @@ jobs: - name: Checkout TizenFX sources run: | ./build.sh clone API4 - - name: Cache DocFX output id: cache-site uses: actions/cache@v2 @@ -27,14 +29,12 @@ jobs: - name: Build Documents if: steps.cache-site.outputs.cache-hit != 'true' run: | - cp docfx_config/docfx_API4.json docfx.json + cp doxfx_config/docfx_API4.json docfx.json ./build.sh restore API4 ./build.sh build API4 - - name: Archive Artifacts run: | tar cfz site.tar.gz _site/ - - uses: actions/upload-artifact@v2 with: name: documents @@ -52,7 +52,6 @@ jobs: - name: Extract Artifacts run: | tar xfz site.tar.gz - - name: Deploy GitHub Pages uses: peaceiris/actions-gh-pages@v4 with: