Skip to content

Commit

Permalink
fixed run on schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
glebashnik committed Aug 14, 2024
1 parent a35a7d5 commit 5ef390a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/delete-old-cloudsmith-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ done
echo "Deleting the following RPMs:"
cat $RPMS_TO_DELETE

if [ "$GITHUB_EVENT_NAME" == "pull_request" ]; then
if [ "$GITHUB_EVENT_NAME" == "schedule" ]; then
for RPMID in $(cat $RPMS_TO_DELETE); do
curl -sLf -X DELETE \
--header "X-Api-Key: $CLOUDSMITH_API_TOKEN" \
Expand Down

0 comments on commit 5ef390a

Please sign in to comment.