1
0
mirror of https://github.com/amir20/dozzle.git synced 2025-12-27 15:41:45 +01:00

Fixes push

This commit is contained in:
Amir Raminfar
2022-04-21 10:33:20 -07:00
parent 590d3bd4f8
commit ff4f7126f9

View File

@@ -47,7 +47,7 @@ jobs:
run: docker-compose -f e2e/docker-compose.yml build
- name: Set commit message for push
if: github.event_name == 'push'
run: echo "GIT_LOG_MESSAGE=$(git log -1 --pretty=%B ${{env.GITHUB_SHA}})" >> $GITHUB_ENV
run: echo "GIT_LOG_MESSAGE=$(git log -1 --pretty=%B ${GITHUB_SHA})" >> $GITHUB_ENV
- name: Set commit message for pull request
if: github.event_name == 'pull_request'
run: echo "GIT_LOG_MESSAGE=$(git log -1 --pretty=%B ${{github.event.pull_request.head.sha}})" >> $GITHUB_ENV