testing output #2
Workflow file for this run
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: Deploy to Azure Static Web Apps | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout GitHub repository | |
uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
- name: Build project | |
run: dotnet build src/HtmlGenerator/HtmlGenerator.fsproj | |
- name: Run F# code to generate HTML | |
run: dotnet run --project src/HtmlGenerator/HtmlGenerator.fsproj | |
- name: Deploy to Azure Static Web Apps | |
uses: Azure/static-web-apps-deploy@v1 | |
with: | |
azure_static_web_apps_api_token: ${{ secrets.DEPLOY_BANANA_TOKEN }} | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
action: upload | |
app_location: "src/HtmlGenerator/output" | |
output_location: "" |