Skip to content

Commit

Permalink
add workflows for staging
Browse files Browse the repository at this point in the history
  • Loading branch information
gandlafbtc committed Jun 6, 2024
1 parent 3e20f45 commit d6b108e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
branches:
- main
- staging

jobs:
build:
Expand All @@ -29,5 +30,5 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
destination_dir: coverage
destination_dir: coverage/${{ github.head_ref || github.ref_name }}
publish_dir: ./coverage/lcov-report
3 changes: 2 additions & 1 deletion .github/workflows/typedoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- staging

jobs:
build:
Expand All @@ -28,5 +29,5 @@ jobs:
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
destination_dir: docs
destination_dir: docs/${{ github.head_ref || github.ref_name }}
publish_dir: ./docs

0 comments on commit d6b108e

Please sign in to comment.