Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
erlendoksvoll authored Apr 17, 2024
0 parents commit a51e05e
Show file tree
Hide file tree
Showing 20 changed files with 888 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Default settings:
# A newline ending every file
# Use 4 spaces as indentation
[*]
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
charset = utf-8

[*.json]
indent_size = 4

[*.cs]
indent_size = 4
# IDE0090: Use 'new(...)'
csharp_style_implicit_object_creation_when_type_is_apparent = false


# Xml project files
[*.{csproj,vcxproj,vcxproj.filters,proj,nativeproj,locproj,xproj}]
indent_size = 2

# Xml files
[*.{xml,xsd,stylecop,resx,ruleset}]
indent_size = 2

# Xml config files
[*.{props,targets,config,nuspec}]
indent_size = 2

# Shell scripts
[*.sh]
end_of_line = lf
[*.{cmd, bat}]
end_of_line = crlf
22 changes: 22 additions & 0 deletions .github/workflows/build-deploy-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy dan-plugin-DATASOURCENAME

on:
push:
branches: [ main ]
paths-ignore:
- '**/README.md'
- '**/*.yml'
workflow_dispatch:

jobs:
run:
uses: data-altinn-no/deploy-actions/.github/workflows/dan-deploy-flow.yml@main
with:
artifact_name: 'dan-plugin-DATASOURCENAME' # Can be omitted, defaults to 'artifact'
function_project_path: 'src/Dan.Plugin.DATASOURCENAME'
secrets:
function_app_name: ${{ secrets.FUNCTIONAPP_NAME }}
publish_profile: ${{ secrets.AZURE_FUNCTION_PUBLISH_CREDS }}
azure_artifact_pat: ${{ secrets.AZURE_ARTIFACTS_PAT }}
azure_credentials: ${{ secrets.AZURE_CREDENTIALS }}
resource_group_prod: ${{ secrets.RESOURCE_GROUP_PROD }}
Loading

0 comments on commit a51e05e

Please sign in to comment.