File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Copy Files to docs-shared
2+
3+ on :
4+ workflow_dispatch : {} # use to manually trigger workflow
5+ push :
6+ branches :
7+ - " master"
8+ paths :
9+ - " source/includes/mongodb-compatibility-table-java-rs.rst"
10+ - " source/includes/language-compatibility-table-java-rs.rst"
11+
12+ jobs :
13+ copy-file :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - name : Checkout code
17+ uses : actions/checkout@v3
18+
19+ - name : Copy mongodb-compat table
20+ uses : dmnemec/copy_file_to_another_repo_action@main
21+ env :
22+ API_TOKEN_GITHUB : ${{ secrets.API_TOKEN_GITHUB }}
23+ with :
24+ source_file : " source/includes/mongodb-compatibility-table-java-rs.rst"
25+ destination_repo : " 10gen/docs-shared"
26+ destination_folder : " dbx"
27+ 28+ user_name : " docs-builder-bot"
29+ commit_message : " Auto-import from docs-java-rs"
30+
31+ - name : Copy language-compat table
32+ uses : dmnemec/copy_file_to_another_repo_action@main
33+ env :
34+ API_TOKEN_GITHUB : ${{ secrets.API_TOKEN_GITHUB }}
35+ with :
36+ source_file : " source/includes/language-compatibility-table-java-rs.rst"
37+ destination_repo : " 10gen/docs-shared"
38+ destination_folder : " dbx"
39+ 40+ user_name : " docs-builder-bot"
41+ commit_message : " Auto-import from docs-java-rs"
You can’t perform that action at this time.
0 commit comments