Paste your Azure Pipelines YAML into the left textbox,
then use the "Process YAML" button to generate GitHub Actions YAML

This migration has approximately ~90% accuracy, depending on the YAML tasks.
For tasks unable to be migrated, a comment is added to the results
Azure DevOps Pipeline YAML
GitHub Actions YAML
#Note: the 'AZURE_SP' secret is required to be added into GitHub Secrets. See this blog post for details: https://samlearnsazure.blog/2019/12/13/github-actions/
on:
  push:
    branches:
    - main
env:
  buildConfiguration: Release
  buildPlatform: Any CPU
jobs:
  Deploy:
    name: Deploy job
    runs-on: ubuntu-latest
    env:
      AppSettings.Environment: data
      ArmTemplateResourceGroupLocation: eu
      ResourceGroupName: MyProjectRG
      WebsiteName: myproject-web
    if: (success() && (github.ref == 'refs/heads/main'))
    steps:
    - uses: actions/checkout@v2
    - # "Note: the 'AZURE_SP' secret is required to be added into GitHub Secrets. See this blog post for details: https://samlearnsazure.blog/2019/12/13/github-actions/"
      name: Azure Login
      uses: azure/login@v1
      with:
        creds: ${{ secrets.AZURE_SP }}
    - name: Download the build artifacts
      uses: actions/download-artifact@v2
      with:
        name: drop
        path: ${{ github.workspace }}
    - name: 'Azure App Service Deploy: web site'
      uses: Azure/webapps-deploy@v2
      with:
        app-name: ${{ env.WebsiteName }}
        package: ${{ github.workspace }}/drop/MyProject.Web.zip
        slot-name: staging
    - name: 'Swap Slots: website'
      uses: Azure/cli@v1.0.0
      with:
        inlineScript: az webapp deployment slot swap --resource-group ${{ env.ResourceGroupName }} --name ${{ env.WebsiteName }} --slot staging --target-slot production
                    

Add workflow dispatch trigger (run GitHub actions on demand)

Try some samples:

         
         

No YAML is captured or stored in the process of the conversion.
The source code for this website, and it's core conversion code, is stored in GitHub and is fully open source.

If you run into a bug, please post an issue!