-
Notifications
You must be signed in to change notification settings - Fork 49
62 lines (55 loc) · 1.91 KB
/
copy-compat-to-docs-shared.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: Copy Files to docs-shared
on:
workflow_dispatch
push:
branches:
- 'master'
paths:
- 'source/includes/mongodb-compatibility-table-node.rst'
- 'source/includes/language-compatibility-table-node.rst'
- 'source/includes/component-compatibility-table-node.rst'
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
jobs:
copy-mongodb-compat:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Copy mongodb-compat table
uses: dmnemec/copy_file_to_another_repo_action@main
with:
source_file: 'source/includes/mongodb-compatibility-table-node.rst'
destination_repo: '10gen/docs-shared'
destination_folder: 'dbx'
user_email: '[email protected]'
user_name: 'docs-builder-bot'
commit_message: 'Auto-import from docs-node'
copy-language-compat:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Copy language-compat table
uses: dmnemec/copy_file_to_another_repo_action@main
with:
source_file: 'source/includes/language-compatibility-table-node.rst'
destination_repo: '10gen/docs-shared'
destination_folder: 'dbx'
user_email: '[email protected]'
user_name: 'docs-builder-bot'
commit_message: 'Auto-import from docs-node'
copy-component-compat:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Copy language-compat table
uses: dmnemec/copy_file_to_another_repo_action@main
with:
source_file: 'source/includes/component-compatibility-table-node.rst'
destination_repo: '10gen/docs-shared'
destination_folder: 'dbx'
user_email: '[email protected]'
user_name: 'docs-builder-bot'
commit_message: 'Auto-import from docs-node'