Skip to content

Commit

Permalink
Add .github/workflows/doc-*.yml (still commented)
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarobartt committed Oct 18, 2024
1 parent 5b01ede commit ef88dfd
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/doc-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# name: Build Documentation
#
# on:
# push:
# branches:
# - main
# - doc-builder*
# paths:
# - docs/**
# - .github/workflows/doc-build.yml
#
# jobs:
# build:
# uses: huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main
# with:
# commit_sha: ${{ github.sha }}
# package: hugs-docs
# package_name: hugs
# additional_args: --not_python_module
# secrets:
# token: ${{ secrets.HUGGINGFACE_PUSH }}
# hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}
21 changes: 21 additions & 0 deletions .github/workflows/doc-pr-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# name: Build PR Documentation
#
# on:
# pull_request:
# paths:
# - docs/**
# - .github/workflows/doc-pr-build.yml
#
# concurrency:
# group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
# cancel-in-progress: true
#
# jobs:
# build:
# uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main
# with:
# commit_sha: ${{ github.event.pull_request.head.sha }}
# pr_number: ${{ github.event.number }}
# package: hugs-docs
# package_name: hugs
# additional_args: --not_python_module
16 changes: 16 additions & 0 deletions .github/workflows/doc-pr-upload.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# name: Upload PR Documentation
#
# on:
# workflow_run:
# workflows: ["Build PR Documentation"]
# types:
# - completed
#
# jobs:
# build:
# uses: huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main
# with:
# package_name: hugs
# secrets:
# hf_token: ${{ secrets.HF_DOC_BUILD_PUSH }}
# comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}

0 comments on commit ef88dfd

Please sign in to comment.