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
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy | |
# More GitHub Actions for Azure: https://github.com/Azure/actions | |
name: Build and deploy Node.js app to Azure Web App - MediaTransmute | |
on: | |
push: | |
branches: | |
- fix/pipeline-deploy | |
workflow_dispatch: | |
# There are two jobs in this workflow - build and deploy | |
jobs: | |
build_and_deploy_job: | |
runs-on: ubuntu-latest | |
name: Build and Deploy Job | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Build And Deploy | |
id: builddeploy | |
uses: Azure/static-web-apps-deploy@v1 | |
with: | |
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }} | |
action: "upload" | |
###### Repository/Build Configurations ###### | |
app_location: "/" # App source code path relative to repository root | |
output_location: "dist" # Built app content directory, relative to app_location - optional | |
###### End of Repository/Build Configurations ###### |