Update github variable to work with tags

This commit is contained in:
Abdul Rabbani 2022-06-02 08:17:27 -04:00
parent be1d4281e8
commit ffb4a59be8

View File

@ -36,7 +36,7 @@ jobs:
- name: Output variables to files - name: Output variables to files
run: | run: |
echo $GITHUB_REPOSITORY > /tmp/git_repository echo $GITHUB_REPOSITORY > /tmp/git_repository
echo $GITHUB_HEAD_REF > /tmp/git_head_ref echo $GITHUB_REF_NAME > /tmp/git_head_ref
echo "-----BEGIN OPENSSH PRIVATE KEY-----" >> /tmp/key echo "-----BEGIN OPENSSH PRIVATE KEY-----" >> /tmp/key
echo ${{ env.BUILD_KEY }} >> /tmp/key echo ${{ env.BUILD_KEY }} >> /tmp/key
echo "-----END OPENSSH PRIVATE KEY-----" >> /tmp/key echo "-----END OPENSSH PRIVATE KEY-----" >> /tmp/key