Skip to content

Commit

Permalink
Merge pull request #78 from pyupio/ci/fix-wrong-event
Browse files Browse the repository at this point in the history
ci(ci.yml): Set SLUG to release when the correct even is triggered
  • Loading branch information
yeisonvargasf authored Oct 23, 2023
2 parents 88b2b93 + 2afcfd2 commit 1e3a4ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
- name: Generate SLUG
id: generate_slug
run: |
if [ "$GITHUB_EVENT_NAME" == "workflow_run" ]; then
if [ "$GITHUB_EVENT_NAME" == "workflow_dispatch" ]; then
SLUG="release"
else
SLUG=$(echo "$BRANCH_NAME" | iconv -t ascii//TRANSLIT | sed -r s/[^a-zA-Z0-9]+/-/g | sed -r s/^-+\|-+$//g | tr A-Z a-z)
Expand Down

0 comments on commit 1e3a4ff

Please sign in to comment.