diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 94507fb8e..4210aac67 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -7,6 +7,7 @@ on: push: branches: - main + - staging jobs: build: @@ -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 diff --git a/.github/workflows/typedoc.yml b/.github/workflows/typedoc.yml index c8860313e..a41da2a88 100644 --- a/.github/workflows/typedoc.yml +++ b/.github/workflows/typedoc.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - staging jobs: build: @@ -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