Release Pipeline #5
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: List Files in Artifacts | |
run: ls -R ${{ github.workspace }}/build | |
- name: Download build artifacts | |
uses: actions/download-artifact@v2 | |
with: | |
name: build-artifacts | |
path: build | |
- name: Deploy to Azure App Service | |
uses: azure/webapps-deploy@v2 | |
with: | |
app-name: test-app # Replace with your Azure App Service name | |
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} |