Skip to content

Merge and Sync repo to remote directory #133

Merge and Sync repo to remote directory

Merge and Sync repo to remote directory #133

name: Merge and Synchronize to remote directory
run-name: Merge and Sync repo to remote directory
on: push
jobs:
merge-and-sync-to-remote-dir:
runs-on: ubuntu-latest
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
steps:
- name: Checkout
uses: emiliensocchi/actions@checkout
- name: Merge and commit
uses: emiliensocchi/actions@merge-cipher-queries
with:
user_email: '[email protected]'
user_name: 'emiliensocchi'
- name: Push remotely
uses: emiliensocchi/actions@sync-to-remote-file
with:
source_file: 'customqueries.json'
destination_file: 'Tools/azurehound/customqueries.json'
destination_repo: 'emiliensocchi/azure-hunting'
user_email: '[email protected]'
user_name: 'emiliensocchi'