Release Pipeline #7
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: Release Pipeline | |
on: | |
workflow_run: | |
workflows: ["Build Pipeline"] | |
types: | |
- completed | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Download Build Artifacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: build-artifacts | |
path: build # Change this to match your build output directory | |
- name: Deploy to Azure App Service | |
uses: azure/webapps-deploy@v2 | |
with: | |
app-name: your-app-name # Replace with your Azure App Service name | |
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} |