Skip to content

⏫ Sync rule files #6220

⏫ Sync rule files

⏫ Sync rule files #6220

Workflow file for this run

on:
workflow_dispatch:
schedule:
- cron: 21 8 * * *
workflow_run:
workflows: ["5whys-Ad-list-processing"]
types:
- completed
name: ⏫ Sync rule files
jobs:
copy-file:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
# Copy the 'post' folder
- name: Push posts
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: 'rules/' # Folder to copy
destination_repo: '${{ secrets.PATH }}' # Target repo
destination_folder: '/' # Folder where to copy it
user_email: '${{ secrets.EMAIL1 }}'
user_name: '${{ secrets.NAME1 }}'
commit_message: "SYNC FROM SOURCE"
git_server: 'github.com'