Trust other blocks, when new trustworthy block is discovered it becomes a Cursive block. Cursive blocks are grandfathered into a chain that has been established already.
This workflow will build and push a node.js application to an Azure Web App when a release is created.
For instructions see https://docs.microsoft.com/azure/app-service/app-service-plan-manage#create-an-app-service-plan
1. For Linux apps, add an app setting called WEBSITE_WEBDEPLOY_USE_SCM and set it to true in your app before downloading the file.
For more instructions see: https://docs.microsoft.com/azure/app-service/configure-common#configure-app-settings
2. Set up a secret in your repository named AZURE_WEBAPP_PUBLISH_PROFILE with the value of your Azure publish profile.
For instructions on obtaining the publish profile see: https://docs.microsoft.com/azure/app-service/deploy-github-actions#configure-the-github-secret
3. Change the values for the AZURE_WEBAPP_NAME, AZURE_WEBAPP_PACKAGE_PATH and NODE_VERSION environment variables (below).
For more information on GitHub Actions for Azure, refer to https://github.com/Azure/Actions
For more samples to get started with GitHub Action workflows to deploy to Azure, refer to https://github.com/Azure/actions-workflow-samples
on: release: types: [created]
env: AZURE_WEBAPP_NAME: your-app-name # set this to your application's name AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root NODE_VERSION: '10.x' # set this to the node version to use
jobs:
build-and-deploy:
name: Build and Deploy
runs-on: ubuntu-latest
environment: production
steps:
- uses: actions/checkout@v2
- name: Use Node.js tags supported
- list syntax required (any unordered or ordered list supported)
- this is a complete item
- this is an incomplete item