Skip to content

Commit

Permalink
Update deploy-documents.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shyunMin authored Jun 20, 2024
1 parent a0a1eb2 commit f7d707b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy-documents.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: "Deploy Documents"

on:
workflow_dispatch:

jobs:

build:
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit f7d707b

Please sign in to comment.