Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

GitHub Action for Azure Data Factory Deploy

Compare
Choose a tag to compare
@fedeoliv fedeoliv released this 20 Sep 16:46
· 12 commits to main since this release

GitHub Action for side-effect free deployment of Azure Data Factory resources.

Prerequisites

If your GitHub Actions workflows are running on a self-hosted runner, ensure you have installed:

Example Usage

steps:
  - name: Login via Az module
    uses: azure/login@v1
    with:
      creds: ${{ secrets.AZURE_CREDENTIALS }}
      enable-AzPSSession: true 

  - name: Deploy resources
    uses: Azure/data-factory-deploy-action@v1.0.0
    with:
      resourceGroupName: myResourceGroup
      dataFactoryName: myDataFactory
      armTemplateFile: myArmTemplate.json
      # armTemplateParametersFile: myArmTemplateParameters.json [optional]
      # additionalParameters: 'key1=value key2=value keyN=value' [optional]

Inputs

Name Description Required Default value
resourceGroupName Data Factory resource group name true
dataFactoryName Data Factory name true
armTemplateFile Data Factory ARM template file false ARMTemplateForFactory.json
armTemplateParametersFile Data Factory ARM template parameters file false ARMTemplateParametersForFactory.json
additionalParameters Data Factory custom parameters. Key-values must be splitted by space. false