⬆️ Update Aspire to 13.0.2 in AppHost and Directory.Packages.props (#… #198
This file contains hidden or 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: Publish Log4brains | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| workflow_dispatch: # Add this line to allow manual triggering | |
| jobs: | |
| build-and-publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false # required by JamesIves/github-pages-deploy-action | |
| fetch-depth: 0 # required by Log4brains to work correctly (needs the whole Git history) | |
| - name: Install Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "21" | |
| - name: Install and Build Log4brains | |
| run: | | |
| npm install -g log4brains | |
| log4brains build --basePath /${GITHUB_REPOSITORY#*/} | |
| - name: Deploy | |
| uses: JamesIves/github-pages-deploy-action@v4.7.3 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| folder: .log4brains/out | |
| target-folder: '' |