Skip to content

Merge pull request #122 from varianter/feature/integrate_vibes #91

Merge pull request #122 from varianter/feature/integrate_vibes

Merge pull request #122 from varianter/feature/integrate_vibes #91

name: DotNet Deploy to Webapp
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: "7.0.x"
# Build artifact
- name: Build Artifact
run: bash build.sh --test --artifact
# Deploy to Azure Web apps
- name: "Run Azure webapp deploy action using publish profile credentials"
uses: azure/webapps-deploy@v2
with:
app-name: chewie-webapp-ld2ijhpvmb34c
publish-profile: ${{ secrets.AZURE_WEBAPP_PUBLISH_PROFILE }} # Define secret variable in repository settings as per action documentation
package: "./artifacts/chewbacca.zip"