From 134bbb2174a09d4a59a4460c21054b0596bbb63c Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sat, 9 Oct 2021 21:32:26 +0200 Subject: [PATCH] Only one file possible --- .github/workflows/copy_change.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/copy_change.yml b/.github/workflows/copy_change.yml index 24c44e90b..0449e8b34 100644 --- a/.github/workflows/copy_change.yml +++ b/.github/workflows/copy_change.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Push Builds.md and I2CDevices.md to https://github.com/Tasmota/docs + - name: Push I2CDevices.md to https://github.com/Tasmota/docs uses: dmnemec/copy_file_to_another_repo_action@main env: API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} @@ -25,4 +25,16 @@ jobs: destination_folder: 'docs' user_email: 'github-actions@github.com' user_name: 'github-actions' - commit_message: 'Builds.md or I2CDevices.md changed' + commit_message: 'I2CDevices.md changed' + - name: Push Builds.md to https://github.com/Tasmota/docs + uses: dmnemec/copy_file_to_another_repo_action@main + env: + API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} + with: + source_file: 'BUILDS.md' + destination_repo: 'Tasmota/docs' + destination_branch: 'development' + destination_folder: 'docs' + user_email: 'github-actions@github.com' + user_name: 'github-actions' + commit_message: 'Builds.md changed'