diff --git a/.github/workflows/main_edually-pilot.yml b/.github/workflows/main_edually-pilot.yml index a87933d..6327ed4 100644 --- a/.github/workflows/main_edually-pilot.yml +++ b/.github/workflows/main_edually-pilot.yml @@ -1,3 +1,44 @@ +You're now in the production slot, which is not recommended for setting up CI/CD.Learn more +Deploy and build code from your preferred source and build provider. Learn more + +Source* +Building with GitHub Actions.Change provider. +GitHub +App Service will place a GitHub Actions workflow in your chosen repository to build and deploy your app whenever there is a commit on the chosen branch. If you can't find an organization or repository, you may need to enable additional permissions on GitHub. You must have write access to your chosen GitHub repository to deploy with GitHub Actions. Learn more + +Signed in as +lafonsecallorcaChange Account +Organization* +SUNY-Brockport-ACM-Student-Chapter +Repository* +AI-Education-Pilot +Branch* +main +Workflow Option* + + +Build +Runtime stack +Python +Version +Python 3.10 +Authentication settings +Select how you want your GitHub Action workflow to authenticate to Azure. If you choose user-assigned identity, the identity selected will be federated with GitHub as an authorized client and given write permissions on the app. Learn more + +Authentication type* + + +Subscription* +Azure for Students +Identity* +(Create new) +Workflow Configuration +File with the workflow configuration defined by the settings above. + +Workflow Configuration +File path: .github/workflows/main_edually-pilot.yml + +If an existing workflow configuration exists, it will be overwritten. # Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy # More GitHub Actions for Azure: https://github.com/Azure/actions # More info on Python, GitHub Actions, and Azure App Service: https://aka.ms/python-webapps-actions @@ -50,7 +91,7 @@ jobs: name: 'Production' url: ${{ steps.deploy-to-webapp.outputs.webapp-url }} permissions: - id-token: write # Required for requesting the JWT + id-token: write #This is required for requesting the JWT steps: - name: Download artifact from build job @@ -61,12 +102,13 @@ jobs: - name: Unzip artifact for deployment run: unzip release.zip + - name: Login to Azure uses: azure/login@v2 with: - client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID }} - tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID }} - subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID }} + client-id: ${{ secrets.__clientidsecretname__ }} + tenant-id: ${{ secrets.__tenantidsecretname__ }} + subscription-id: ${{ secrets.__subscriptionidsecretname__ }} - name: 'Deploy to Azure Web App' uses: azure/webapps-deploy@v3 @@ -74,3 +116,4 @@ jobs: with: app-name: 'edually-pilot' slot-name: 'Production' +