Skip to content

Commit

Permalink
deploy static files to GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Apr 9, 2024
1 parent 6015c88 commit f4a759e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ jobs:
run: |
dotnet publish --os linux --arch x64 -c Release -p:ContainerRepository=${{ env.image_repository_name }} -p:ContainerRegistry=ghcr.io -p:ContainerImageTags=${{ env.TAG_NAME }} -p:ContainerPort=80
# Deploy UI to GitHub Pages
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./MyApp/wwwroot
user_name: 'GitHub Action'
user_email: '[email protected]'

deploy_via_ssh:
needs: push_to_registry
runs-on: ubuntu-22.04
Expand Down

0 comments on commit f4a759e

Please sign in to comment.