Skip to content

Commit 2d50101

Browse files
authored
Add copying SQL Queries 🔍
1 parent 297c474 commit 2d50101

1 file changed

Lines changed: 23 additions & 1 deletion

File tree

.github/workflows/copy-to-CSS-SystemCenter-OperationsManager.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This is a basic workflow to help you get started with Actions
22

3-
name: Copy Powershell to microsoft/CSS-SystemCenter-OperationsManager
3+
name: Copy Files to microsoft/CSS-SystemCenter-OperationsManager
44

55
# Controls when the workflow will run
66
on:
@@ -48,3 +48,25 @@ jobs:
4848
commit_msg: 'Synchronized with `SCOM-Scripts-and-SQL` :fireworks: :star2:'
4949
# Destination branch to create for this commit
5050
#destination_branch_create: # optional
51+
52+
- name: Push SQL directory to microsoft/CSS-SystemCenter-OperationsManager
53+
# You may pin to the exact commit or the version.
54+
# uses: datalbry/copy_folder_to_another_repo_action@f4ceec0eb4df6da5e4fe043dbc38c698a8ff4401
55+
uses: datalbry/copy_folder_to_another_repo_action@1.0.1
56+
with:
57+
# Source folder from the origin directory
58+
source_folder: 'SQL Queries'
59+
# Destination repository
60+
destination_repo: microsoft/CSS-SystemCenter-OperationsManager
61+
# Directory to push the folder contents to
62+
destination_folder: 'SQL Queries'
63+
# Email for the git commit
64+
user_email: blakedrumm@microsoft.com
65+
# GitHub username for the commit
66+
user_name: blakedrumm
67+
# branch to push folder to, defaults to master
68+
destination_branch: main
69+
# The commit message
70+
commit_msg: 'Synchronized with `SCOM-Scripts-and-SQL` :fireworks: :star2:'
71+
# Destination branch to create for this commit
72+
#destination_branch_create: # optional

0 commit comments

Comments
 (0)