From 1800697402cb065e04540583bdc3796ddd6ae14c Mon Sep 17 00:00:00 2001 From: Drew Furgiuele Date: Mon, 20 Nov 2023 19:47:51 -0500 Subject: [PATCH] adding in workflow for sql file --- .github/workflows/build-sqlfile.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build-sqlfile.yml diff --git a/.github/workflows/build-sqlfile.yml b/.github/workflows/build-sqlfile.yml new file mode 100644 index 0000000..8047dca --- /dev/null +++ b/.github/workflows/build-sqlfile.yml @@ -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 \ No newline at end of file