Skip to content

Improve UX by putting Join button all the way to the right & uppercas… #161

Improve UX by putting Join button all the way to the right & uppercas…

Improve UX by putting Join button all the way to the right & uppercas… #161

# This CI/CD configuration setup was inspired by https://github.com/jsakamoto/PublishSPAforGitHubPages.Build
name: Continuous Deployment
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core 6.0
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Build with dotnet
run: dotnet build BF2TV.BlazorWasm/BF2TV.BlazorWasm.csproj --configuration Release
working-directory: src
- name: Build with dotnet
run: dotnet build BF2TV.Frontend/BF2TV.Frontend.csproj --configuration Release
working-directory: src
- name: Build with dotnet
run: dotnet build BF2TV.Domain/BF2TV.Domain.csproj --configuration Release
working-directory: src
- name: Build tests with dotnet
run: dotnet build BF2TV.Domain.Tests/BF2TV.Domain.Tests.csproj --configuration Release
working-directory: src
- name: Run Tests
run: dotnet test --configuration Release --no-build
working-directory: src
- name: Create Artifacts
run: dotnet publish src/BF2TV.BlazorWasm/BF2TV.BlazorWasm.csproj -c:Release -o:public -p:GHPages=true -p:GHPagesBase=..
- name: Deploy Artifacts to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public/wwwroot
force_orphan: true
cname: "bf2.tv"
user_name: "TwitchPlaysBF2"
user_email: "[email protected]"
commit_message: "Deploys: "