Push Builds.md and I2CDevices.md to Tasmota/docs

This commit is contained in:
Jason2866 2021-10-09 21:05:39 +02:00 committed by GitHub
parent c45d913559
commit 56f1cdd337
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

26
.github/workflows/copy_change.yml vendored Normal file
View File

@ -0,0 +1,26 @@
on:
workflow_dispatch: # Manually start a workflow
push:
branches: development
paths:
- 'BUILDS.md'
- 'I2CDEVICES.md'
jobs:
copy_change:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Push Builds.md and 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 }}
with:
source_file: 'BUILDS.md,I2CDEVICES.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 or I2CDevices.md changed'