1 name: "Deploy Documents"
11 runs-on: [self-hosted, linux, x64]
13 image: tizendotnet/tizenfx-build-worker:2.0
16 - uses: actions/checkout@v3
18 repository: TizenAPI/TizenFX-Docs
20 - name: Checkout TizenFX sources
24 - name: Cache DocFX output
26 uses: actions/cache@v2
29 key: docfx-gh-pages-site-${{ hashFiles('repos/commits') }}
31 - name: Build Documents
32 if: steps.cache-site.outputs.cache-hit != 'true'
38 - name: Archive Artifacts
40 tar cfz site.tar.gz _site/
42 - uses: actions/upload-artifact@v2
52 - uses: actions/download-artifact@v2
56 - name: Extract Artifacts
60 - name: Deploy GitHub Pages
61 uses: peaceiris/actions-gh-pages@v3
63 github_token: ${{ secrets.GITHUB_TOKEN }}
65 publish_branch: gh-pages
66 user_name: 'TizenAPI-Bot'
67 user_email: 'tizenapi@samsung.com'
68 full_commit_message: 'Update documents'