Created
January 26, 2023 06:45
-
-
Save veereshkumarn/faeaed6dc73fb662d16fb8a0b04425b1 to your computer and use it in GitHub Desktop.
Azure App Service Build Action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Azure App Service Build Action' | |
description: 'This repository contains the GitHub Action for building Azure Web Apps on Linux using the Oryx build system. Currently, the following platforms can be built using this GitHub Action.Refer: https://github.com/marketplace/actions/app-service-web-app-build-action' | |
# Action Inputs and Outputs | |
inputs: | |
source-directory: | |
description: 'Source Code Directory or Relative path (within the repo) to the source directory of the web app that's being built' | |
required: true | |
build-platform-name: | |
description: 'Optional- Programming platform used by the web app that's being deployed, Oryx will detect the provided application's platform if not provided' | |
required: false | |
build-platform-version: | |
description: 'Optional - Version of programming platform used by the web app, Oryx will determine the version from source files if version was not set.' | |
required: false | |
build-output-path: | |
description: 'The directory where the build output will be copied' | |
required: true | |
default: './publish' | |
runs: | |
using: "composite" | |
steps: | |
# Deploy Web Application to Azure Web App | |
- name: Build Application | |
uses: azure/appservice-build@v3 | |
env: | |
ORYX_DISABLE_TELEMETRY: true | |
with: | |
source-directory: ${{ inputs.source-directory }} | |
platform: ${{ inputs.build-platform-name }} | |
platform-version: ${{ inputs.build-platform-version }} | |
output-directory: ${{ inputs.build-output-path }} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment