Skip to content

Commit

Permalink
Merge pull request #1994 from dev-hato/fix_deploy_ci_2
Browse files Browse the repository at this point in the history
deploy-hato-botのHEAD_REF修正
  • Loading branch information
massongit authored Dec 1, 2022
2 parents 83be495 + 37f2016 commit 81a394b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-hato-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
id: get_python_version
run: bash "${GITHUB_WORKSPACE}/scripts/deploy_hato_bot/update_version_python_version/get_python_version.sh"
env:
HEAD_REF: ${{github.head_ref}}
HEAD_REF: ${{github.head_ref || github.event.release.tag_name}}
- uses: dev-hato/actions-diff-pr-management@v1.1.1
with:
github-token: ${{secrets.GITHUB_TOKEN}}
Expand Down Expand Up @@ -153,7 +153,7 @@ jobs:
- uses: actions/checkout@v3.1.0
- run: bash "${GITHUB_WORKSPACE}/scripts/deploy_hato_bot/dockle/run_dockle.sh"
env:
HEAD_REF: ${{github.head_ref}}
HEAD_REF: ${{github.head_ref || github.event.release.tag_name}}

deploy-complete:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 81a394b

Please sign in to comment.