diff --git a/.github/workflows/azure-static-web-apps-declarative-db-deploy.yml.sample b/.github/workflows/azure-static-web-apps-declarative-db-deploy.yml.sample index e7015aa..85b6f14 100644 --- a/.github/workflows/azure-static-web-apps-declarative-db-deploy.yml.sample +++ b/.github/workflows/azure-static-web-apps-declarative-db-deploy.yml.sample @@ -19,10 +19,11 @@ jobs: with: submodules: true - name: Deploy Database - uses: azure/sql-action@v1.3 + uses: azure/sql-action@v2 with: connection-string: ${{ secrets.AZURE_SQL_CONNECTION_STRING }} - project-file: './database/declarative-deploy/todo_v6/todo_v6.sqlproj' + path: './database/declarative-deploy/todo_v6/todo_v6.sqlproj' + action: 'publish' build-arguments: '-c Release' - name: Build And Deploy id: builddeploy diff --git a/SlideDeck.pdf b/SlideDeck.pdf new file mode 100644 index 0000000..dcbfadd Binary files /dev/null and b/SlideDeck.pdf differ diff --git a/database/declarative-deploy/azure-deploy-sql-db.sh b/database/declarative-deploy/azure-deploy-sql-db.sh index a3a5a18..d98d1dc 100644 --- a/database/declarative-deploy/azure-deploy-sql-db.sh +++ b/database/declarative-deploy/azure-deploy-sql-db.sh @@ -13,7 +13,7 @@ else fi echo "Building .dacpac..." -dotnet build /p:NetCoreBuild=true todo_v6 +dotnet build todo_v6 echo "Publishing .dacpac..." sqlpackage /Action:Publish /SourceFile:./todo_v6/bin/Debug/todo_v6.dacpac /TargetConnectionString:"$ConnectionString" diff --git a/database/declarative-deploy/todo_v6/todo_v6.sqlproj b/database/declarative-deploy/todo_v6/todo_v6.sqlproj index d14904c..b09e807 100644 --- a/database/declarative-deploy/todo_v6/todo_v6.sqlproj +++ b/database/declarative-deploy/todo_v6/todo_v6.sqlproj @@ -1,6 +1,6 @@ - + todo {532E54C9-E606-46A4-95E0-B37B4F67AB01}