Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
5c9394b5
Unverified
Commit
5c9394b5
authored
Jun 07, 2023
by
Mishig
Committed by
GitHub
Jun 07, 2023
Browse files
[doc build] Use secrets (#24079)
parent
1fc832b4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
6 deletions
+36
-6
.github/workflows/build_documentation.yml
.github/workflows/build_documentation.yml
+1
-0
.github/workflows/delete_doc_comment.yml
.github/workflows/delete_doc_comment.yml
+7
-6
.github/workflows/delete_doc_comment_trigger.yml
.github/workflows/delete_doc_comment_trigger.yml
+12
-0
.github/workflows/upload_pr_documentation.yml
.github/workflows/upload_pr_documentation.yml
+16
-0
No files found.
.github/workflows/build_documentation.yml
View file @
5c9394b5
...
@@ -18,3 +18,4 @@ jobs:
...
@@ -18,3 +18,4 @@ jobs:
languages
:
de en es fr it ko pt zh
languages
:
de en es fr it ko pt zh
secrets
:
secrets
:
token
:
${{ secrets.HUGGINGFACE_PUSH }}
token
:
${{ secrets.HUGGINGFACE_PUSH }}
hf_token
:
${{ secrets.HF_DOC_BUILD_PUSH }}
.github/workflows/delete_doc_comment.yml
View file @
5c9394b5
name
:
Delete d
ev documentation
name
:
Delete d
oc comment
on
:
on
:
pull_request
:
workflow_run
:
types
:
[
closed
]
workflows
:
[
"
Delete
doc
comment
trigger"
]
types
:
-
completed
jobs
:
jobs
:
delete
:
delete
:
uses
:
huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@main
uses
:
huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@main
with
:
secrets
:
pr_number
:
${{ github.event.number }}
comment_bot_token
:
${{ secrets.COMMENT_BOT_TOKEN }}
package
:
transformers
\ No newline at end of file
.github/workflows/delete_doc_comment_trigger.yml
0 → 100644
View file @
5c9394b5
name
:
Delete doc comment trigger
on
:
pull_request
:
types
:
[
closed
]
jobs
:
delete
:
uses
:
huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@main
with
:
pr_number
:
${{ github.event.number }}
.github/workflows/upload_pr_documentation.yml
0 → 100644
View file @
5c9394b5
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
:
transformers
secrets
:
hf_token
:
${{ secrets.HF_DOC_BUILD_PUSH }}
comment_bot_token
:
${{ secrets.COMMENT_BOT_TOKEN }}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment