Skip to content

Commit

Permalink
Exclude ci.yaml in rsync
Browse files Browse the repository at this point in the history
  • Loading branch information
mmontes11 committed Jul 16, 2024
1 parent 47215b4 commit 1364c30
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,11 @@ runs:
git reset --hard upstream/main
echo "🚀 Copying bundle"
CI_YAML="${ROOT_DIR}/${{ inputs.ci-path-file }}"
mkdir -p "operators/${{ inputs.name }}/${{ inputs.version }}"
rsync -av --exclude="${CI_YAML}" "${ROOT_DIR}/${{ inputs.bundle-path-dir }}/" "operators/${{ inputs.name }}/${{ inputs.version }}"
rsync -av --exclude="ci.yaml" "${ROOT_DIR}/${{ inputs.bundle-path-dir }}/" "operators/${{ inputs.name }}/${{ inputs.version }}"
echo "🚀 Copying ci.yaml"
cp "${CI_YAML}" "operators/${{ inputs.name }}/"
cp "${ROOT_DIR}/${{ inputs.ci-path-file }}" "operators/${{ inputs.name }}/"
echo "🚀 Submitting PR"
git add .
Expand Down

0 comments on commit 1364c30

Please sign in to comment.