diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index a51f63d..093e85c 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -14,15 +14,15 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - with: - ref: ${{ github.event.pull_request.head.sha }} + ref: ${{ github.ref }} - # - name: debug - # run: | - # echo ${{github.event.pull_request.base.sha}} - # echo ${{github.event.pull_request.base}} + - name: debug + run: | + echo ${{github.event.pull_request.base.sha}} + echo ${{github.ref}} - name: Get Head Commit Message + shell: bash id: get_head_commit_message run: echo "HEAD_COMMIT_MESSAGE=$(git show -s --format=%s)" >> "$GITHUB_OUTPUT"