Skip to content

Commit 1364c30

Browse files
committed
Exclude ci.yaml in rsync
1 parent 47215b4 commit 1364c30

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

action.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,11 @@ runs:
7676
git reset --hard upstream/main
7777
7878
echo "🚀 Copying bundle"
79-
CI_YAML="${ROOT_DIR}/${{ inputs.ci-path-file }}"
8079
mkdir -p "operators/${{ inputs.name }}/${{ inputs.version }}"
81-
rsync -av --exclude="${CI_YAML}" "${ROOT_DIR}/${{ inputs.bundle-path-dir }}/" "operators/${{ inputs.name }}/${{ inputs.version }}"
80+
rsync -av --exclude="ci.yaml" "${ROOT_DIR}/${{ inputs.bundle-path-dir }}/" "operators/${{ inputs.name }}/${{ inputs.version }}"
8281
8382
echo "🚀 Copying ci.yaml"
84-
cp "${CI_YAML}" "operators/${{ inputs.name }}/"
83+
cp "${ROOT_DIR}/${{ inputs.ci-path-file }}" "operators/${{ inputs.name }}/"
8584
8685
echo "🚀 Submitting PR"
8786
git add .

0 commit comments

Comments
 (0)