Skip to content

Commit

Permalink
Tweak push data step
Browse files Browse the repository at this point in the history
  • Loading branch information
Ortham committed Jul 6, 2024
1 parent d7ab67b commit 0f992b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/export-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
echo 'export COMMIT_MESSAGE="Export translations from prelude"' >> git_vars.sh
if: ${{ github.event_name == 'pull_request' }}

- name: Record pull request head data
- name: Record push head data
run: |
echo 'export PR_HEAD_URL="${{ github.event.push.repository.clone_url }}"' > git_vars.sh
echo 'export PR_HEAD_REF="${{ github.event.push.ref }}"' >> git_vars.sh
echo 'export PR_HEAD_URL="${{ github.repositoryUrl }}"' > git_vars.sh
echo 'export PR_HEAD_REF="${{ github.ref }}"' >> git_vars.sh
echo 'export COMMIT_MESSAGE="Export translations from prelude"' >> git_vars.sh
if: ${{ github.event_name == 'push' }}

Expand Down

0 comments on commit 0f992b2

Please sign in to comment.