Fixed youtube URL at the Hero Component (#41) #13
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: Deployment | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: 8.0.x | |
- name: Install .NET WASM Build Tools | |
run: dotnet workload install wasm-tools | |
- name: Publish .NET Core Project | |
run: dotnet publish ./src/School39.Landing/School39.Landing.csproj -c:Release -p:GHPages=true -o dist/Web --nologo | |
- name: Commit wwwroot to GitHub Pages | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
BRANCH: gh-pages | |
FOLDER: dist/Web/wwwroot |