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
+ push :
5
+ branches :
6
+ - " master"
7
+ paths :
8
+ - " source/includes/mongodb-compatibility-table-csharp.rst"
9
+ - " source/includes/language-compatibility-table-csharp.rst"
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ copy-file :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - name : Checkout code
17
+ uses : actions/checkout@v2
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-csharp.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-csharp"
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-csharp.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-csharp"
You can’t perform that action at this time.
0 commit comments