Skip to content

Commit

Permalink
ci(ci.yml): Set SLUG to release when the correct even is triggered
Browse files Browse the repository at this point in the history
  • Loading branch information
yeisonvargasf committed Oct 23, 2023
1 parent 88b2b93 commit 2afcfd2
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 2afcfd2

Please sign in to comment.