Skip to content

092223 compatibility copy (#130) #2

092223 compatibility copy (#130)

092223 compatibility copy (#130) #2

name: Copy Files to docs-shared
on:
push:
branches:
- "master"
paths:
- "source/includes/mongodb-compatibility-table-kotlin.rst"
- "source/includes/language-compatibility-table-kotlin.rst"
workflow_dispatch:
jobs:
copy-file:
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
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: "source/includes/mongodb-compatibility-table-kotlin.rst"
destination_repo: "10gen/docs-shared"
destination_folder: "dbx"
user_email: "docs-builder-bot@mongodb.com"
user_name: "docs-builder-bot"
commit_message: "Auto-import from docs-kotlin"
- name: Copy language-compat table
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: "source/includes/language-compatibility-table-kotlin.rst"
destination_repo: "10gen/docs-shared"
destination_folder: "dbx"
user_email: "docs-builder-bot@mongodb.com"
user_name: "docs-builder-bot"
commit_message: "Auto-import from docs-kotlin"