Skip to content

Update Bulma, implement dark mode for plot #18

Update Bulma, implement dark mode for plot

Update Bulma, implement dark mode for plot #18

name: Deploy to Azure (prod)
on:
push:
branches:
- master
env:
AZURE_WEBAPP_NAME: RP1CareerLog # 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
DOTNET_VERSION: '9.0.x' # set this to the dot net version to use
NODE_VERSION: '20.x' # set this to the node version to use
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment: production
permissions:
id-token: write #This is required for requesting the JWT
contents: read #This is required for actions/checkout
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Set up Node.js version
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: dotnet build and publish
run: |
dotnet restore
dotnet build --configuration Release
dotnet publish -c Release -o '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/azure-prod'
- name: Login to Azure
uses: azure/login@v2
with:
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_748F88D058DD4FBAB690FAB4D0C27D03 }}
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_9C269CD678E3422FBC2CA01E881C7AFF }}
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_6822A6434B25448F86223A5522CBF3E9 }}
- name: Deploy to Azure Web App
uses: azure/webapps-deploy@v3
with:
app-name: ${{ env.AZURE_WEBAPP_NAME }}
slot-name: 'Production'
package: '${{ env.AZURE_WEBAPP_PACKAGE_PATH }}/azure-prod'