-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Publish Blazor example from master only
- Loading branch information
1 parent
efb2d76
commit 2dd07fe
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,11 +19,13 @@ jobs: | |
run: dotnet run --project ./build -- check | ||
|
||
- name: Publish Blazor example | ||
run: dotnet run --project ./build -- publish | ||
if: ${{ github.ref == 'refs/heads/master' }} | ||
run: dotnet run --project ./build -- publish | ||
|
||
- name: Commit wwwroot to GitHub Pages | ||
if: ${{ github.ref == 'refs/heads/master' }} | ||
uses: JamesIves/[email protected] | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
BRANCH: gh-pages | ||
FOLDER: samples/BlazorWebAssemblyApp/bin/wwwroot | ||
FOLDER: samples/BlazorWebAssemblyApp/bin/wwwroot |