-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #320 from erikdarlingdata/drew-workflow
adding in workflow for sql file
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Regenerate SQL Main File | ||
on: | ||
push: | ||
branches: | ||
- main | ||
permissions: | ||
contents: write | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Checkout Code | ||
run: | | ||
git config --global user.name 'Darling Data' | ||
git config --global user.email 'erik@erikdarling.com' | ||
git checkout | ||
- name: Compile SQL File | ||
shell: pwsh | ||
run: | | ||
cd DarlingData | ||
cd Install-All | ||
./Merge All.ps1 | ||
- name: Commit Updated File | ||
run: | | ||
git add DarlingData.sql | ||
git commit -am "Automation: Building SQL File" | ||
git push |