diff --git a/.github/workflows/copy_change.yml b/.github/workflows/copy_change.yml index 9ff05ed09975..62f192b28a8b 100644 --- a/.github/workflows/copy_change.yml +++ b/.github/workflows/copy_change.yml @@ -1,41 +1,41 @@ -name: Copy to docs repo +# name: Copy to docs repo -on: - workflow_dispatch: # Manually start a workflow - push: - branches: development - paths: - - 'BUILDS.md' - - 'I2CDEVICES.md' +# on: +# workflow_dispatch: # Manually start a workflow +# push: +# branches: development +# paths: +# - 'BUILDS.md' +# - 'I2CDEVICES.md' -jobs: +# jobs: - copy_change: - runs-on: ubuntu-latest - if: github.repository == 'arendst/Tasmota' - steps: - - uses: actions/checkout@v4 - - name: Push I2CDevices.md to https://github.com/Tasmota/docs - uses: Jason2866/copy_file_to_another_repo_action@main - env: - API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} - with: - source_file: 'I2CDEVICES.md' - destination_repo: 'Tasmota/docs' - destination_branch: 'development' - destination_folder: 'docs' - user_email: 'github-actions@github.com' - user_name: 'github-actions' - commit_message: 'I2CDevices.md changed' - - name: Push Builds.md to https://github.com/Tasmota/docs - uses: Jason2866/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' +# copy_change: +# runs-on: ubuntu-latest +# if: github.repository == 'arendst/Tasmota' +# steps: +# - uses: actions/checkout@v4 +# - name: Push I2CDevices.md to https://github.com/Tasmota/docs +# uses: Jason2866/copy_file_to_another_repo_action@main +# env: +# API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} +# with: +# source_file: 'I2CDEVICES.md' +# destination_repo: 'Tasmota/docs' +# destination_branch: 'development' +# destination_folder: 'docs' +# user_email: 'github-actions@github.com' +# user_name: 'github-actions' +# commit_message: 'I2CDevices.md changed' +# - name: Push Builds.md to https://github.com/Tasmota/docs +# uses: Jason2866/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'