Skip to content

Update copy-compat-to-docs-shared.yml #43

Update copy-compat-to-docs-shared.yml

Update copy-compat-to-docs-shared.yml #43

name: Copy Files to docs-shared
on:
workflow_dispatch
push:

Check failure on line 5 in .github/workflows/copy-compat-to-docs-shared.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/copy-compat-to-docs-shared.yml

Invalid workflow file

You have an error in your yaml syntax on line 5
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'