Skip to content

Commit

Permalink
Merge branch 'KelvinTegelaar:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
robybrisson authored Jan 3, 2024
2 parents 0073b5e + eef8ed8 commit 948665c
Show file tree
Hide file tree
Showing 1,182 changed files with 135,959 additions and 19,982 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev_cipppwrro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
app-name: 'cipppwrro'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_7CFCA05390754624B5492AF7ECD3D826 }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_9E109464904540339CA94F283ACE1312 }}
29 changes: 29 additions & 0 deletions .github/workflows/ninjaone_cipp426ns.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
# More GitHub Actions for Azure: https://github.com/Azure/actions

name: Build and deploy Powershell project to Azure Function App - cipp426ns

on:
push:
branches:
- NinjaOne
workflow_dispatch:

env:
AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root

jobs:
build-and-deploy:
runs-on: windows-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v2

- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: 'cipp426ns'
slot-name: 'Production'
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_198DAF92160A4302B5AA0C145DE72796 }}
42 changes: 0 additions & 42 deletions .github/workflows/powershell-analysis.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ chocoapps.cache
Cache_*
Logs
ExcludedTenants
Config
SendNotifications/config.json
2 changes: 1 addition & 1 deletion Activity_AddOrUpdateTableRows/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $Table = Get-CippTable -tablename $TableName
foreach ($param in $TableParams.Entity) {
try {
#Sending each item indivually, if it fails, log an error.
Add-AzDataTableEntity @Table -Entity $param -Force
Add-CIPPAzDataTableEntity @Table -Entity $param -Force
}
catch {
Write-LogMessage -API 'Activity_AddOrUpdateTableRows' -message "Unable to write to '$($TableParams.TableName)' Using RowKey $($param.RowKey) table: $($_.Exception.Message)" -sev error
Expand Down
2 changes: 1 addition & 1 deletion Activity_GetAllTableRows/run.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
param($name)

$Table = Get-CippTable -tablename $name
$Rows = Get-AzDataTableEntity @Table
$Rows = Get-CIPPAzDataTableEntity @Table

Write-Output $Rows
19 changes: 0 additions & 19 deletions AddAPDevice/function.json

This file was deleted.

41 changes: 0 additions & 41 deletions AddAPDevice/run.ps1

This file was deleted.

24 changes: 0 additions & 24 deletions AddAlert/function.json

This file was deleted.

94 changes: 0 additions & 94 deletions AddAlert/run.ps1

This file was deleted.

12 changes: 12 additions & 0 deletions AddAlertSubscription_Queue/function.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"scriptFile": "../Modules/CippEntryPoints/CippEntryPoints.psm1",
"entryPoint": "Receive-CippQueueTrigger",
"bindings": [
{
"name": "QueueItem",
"type": "queueTrigger",
"direction": "in",
"queueName": "AlertSubscriptions"
}
]
}
19 changes: 0 additions & 19 deletions AddAutopilotConfig/function.json

This file was deleted.

70 changes: 0 additions & 70 deletions AddAutopilotConfig/run.ps1

This file was deleted.

Loading

0 comments on commit 948665c

Please sign in to comment.