Skip to content

Commit

Permalink
Fixed exported variables
Browse files Browse the repository at this point in the history
  • Loading branch information
shkarface committed Nov 22, 2023
1 parent d16b16d commit b4eb5e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,6 @@ runs:
shell: bash
env:
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
GITHUB_REPO_URL: ${{ env.GITHUB_SERVER_URL }}/${{ env.GITHUB_REPOSITORY }}
FULL_IMAGE_TAG: ${{ inputs.image-tag }}
TARGET_FILE: ${{ inputs.component-name }}/${{ steps.find-target-file.outputs.target_file }}
TARGET_BRANCH: update-${{ steps.get-environment.outputs.environment }}-${{ inputs.component-name }}
Expand All @@ -149,7 +148,8 @@ runs:
echo "# This file was automatically generated by the auto-deploy action. Do not edit manually.#" >> $TARGET_FILE
echo -e "#########################################################################################\n" >> $TARGET_FILE
IMAGE_TAG="${FULL_IMAGE_TAG##*:}" # Removes everything up to and including the last colon
export IMAGE_TAG="${FULL_IMAGE_TAG##*:}" # Removes everything up to and including the last colon
export GITHUB_REPO_URL="${{ github.server_url }}/${{ github.repository }}"
# Initialize the YAML output
yq -i '
Expand Down

0 comments on commit b4eb5e0

Please sign in to comment.