Skip to content

Commit

Permalink
update intro; mention artifacts; call out containers
Browse files Browse the repository at this point in the history
  • Loading branch information
im-samz committed Dec 9, 2024
1 parent b464e3c commit 0b04ca2
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 7 deletions.
27 changes: 20 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,16 @@
| PowerShell Windows | ![master powershell windows e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_POWERSHELL6_WCON/badge.svg?branch=master) | ![dev powershell windows e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_POWERSHELL6_WCON/badge.svg?branch=dev) |
| Python Linux | ![master python linux e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_PYTHON37_LCON/badge.svg?branch=master) | ![dev python linux e2e](https://github.com/Azure/functions-action/workflows/RUN_E2E_TESTS_PYTHON37_LCON/badge.svg?branch=dev) |

With the Azure Functions GitHub Action, you can automate your workflow to deploy [Azure Functions](https://azure.microsoft.com/en-us/services/functions/).
The Azure Functions Action deploys your project code to your [function app](https://azure.microsoft.com/en-us/services/functions/). With this action, you can create an automated workflow that builds, authenticates, and deploys to your function app.

Get started today with a [free Azure account](https://azure.com/free/open-source)!
To get started, you can copy one of our end-to-end samples, or have one generated for you in the Azure Portal; just go to the Deployment Center blade of your app. For full guidance on creating automated workflows, see our Learn article [here](https://learn.microsoft.com/azure/azure-functions/functions-how-to-github-actions).

The repository contains a GitHub Action to deploy your function app project into Azure Functions. If you are looking for a GitHub Action to deploy your customized container image into an Azure Functions container, please consider using [functions-container-action](https://github.com/Azure/functions-container-action).
>[!IMPORTANT]
>If you are looking for a GitHub Action to deploy your customized container image to Azure Functions, please use [functions-container-action](https://github.com/Azure/functions-container-action).
The definition of this GitHub Action is in [action.yml](https://github.com/Azure/functions-action/blob/master/action.yml).

[Kudu zip deploy](https://github.com/projectkudu/kudu/wiki/Deploying-from-a-zip-file-or-url) method is used by the action for deployment of Functions.

## End-to-End workflow samples
## End-to-end workflow samples

### Workflow templates

Expand Down Expand Up @@ -106,14 +105,18 @@ jobs:
permissions:
contents: read # Required for actions/checkout
steps:
# ...checkout your repository
# ...required build steps for your language
# ...upload your build artifact

deploy:
runs-on: ubuntu-latest
needs: build
permissions:
id-token: write # Required to fetch an OIDC token to authenticate with the job
steps:
# ...download your build artifact

- name: 'Log in to Azure with AZ CLI'
uses: azure/login@v2
with:
Expand Down Expand Up @@ -170,11 +173,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
# ...checkout your repository
# ...required build steps for your language
# ...upload your build artifact
deploy:
runs-on: ubuntu-latest
needs: build
steps:
# ...download your build artifact
- name: 'Log in to Azure with AZ CLI'
uses: azure/login@v2
with:
Expand Down Expand Up @@ -212,11 +220,16 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
# ...required build steps for your language
# ...checkout your repository
# ...required build steps for your language
# ...upload your build artifact
deploy:
runs-on: ubuntu-latest
needs: build
steps:
# ...download your build artifact
- name: 'Run the Azure Functions Action'
uses: Azure/functions-action@v1
id: deploy-to-function-app
Expand Down
43 changes: 43 additions & 0 deletions functions-action.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.5.002.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{0F9DDECE-DBD1-4730-A4B3-912B56AAE75E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "samples", "samples", "{EEE5504F-0D20-4EF1-9029-36BA16DF905E}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Dotnet3", "tests\samples\NetCoreAppFolder\Dotnet3.csproj", "{DB2AE487-206A-4787-9188-B4C23C1DB260}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "e2e", "e2e", "{0A403211-4064-4275-9324-6ED1AAFCE6D7}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "dotnet3", "tests\e2e\dotnet3\dotnet3.csproj", "{F1352C75-7483-4E66-9BC8-FE54F082121B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DB2AE487-206A-4787-9188-B4C23C1DB260}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DB2AE487-206A-4787-9188-B4C23C1DB260}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DB2AE487-206A-4787-9188-B4C23C1DB260}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DB2AE487-206A-4787-9188-B4C23C1DB260}.Release|Any CPU.Build.0 = Release|Any CPU
{F1352C75-7483-4E66-9BC8-FE54F082121B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F1352C75-7483-4E66-9BC8-FE54F082121B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F1352C75-7483-4E66-9BC8-FE54F082121B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F1352C75-7483-4E66-9BC8-FE54F082121B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{EEE5504F-0D20-4EF1-9029-36BA16DF905E} = {0F9DDECE-DBD1-4730-A4B3-912B56AAE75E}
{DB2AE487-206A-4787-9188-B4C23C1DB260} = {EEE5504F-0D20-4EF1-9029-36BA16DF905E}
{0A403211-4064-4275-9324-6ED1AAFCE6D7} = {0F9DDECE-DBD1-4730-A4B3-912B56AAE75E}
{F1352C75-7483-4E66-9BC8-FE54F082121B} = {0A403211-4064-4275-9324-6ED1AAFCE6D7}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {47719DB1-980F-40CF-9262-8D6B866BA597}
EndGlobalSection
EndGlobal

0 comments on commit 0b04ca2

Please sign in to comment.