Update github variable to work with tags #164

Merged
abdulrabbani00 merged 3 commits from feature/update-cicd-work-with-tag into master 2022-06-02 12:49:23 +00:00
Showing only changes of commit ffb4a59be8 - Show all commits

View File

@ -36,7 +36,7 @@ jobs:
- name: Output variables to files
run: |
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 ${{ env.BUILD_KEY }} >> /tmp/key
echo "-----END OPENSSH PRIVATE KEY-----" >> /tmp/key