Skip to content

Commit

Permalink
Merge pull request #4031 from armanbilge/fix/ci-post-discord
Browse files Browse the repository at this point in the history
Fix CI step to post release to Discord
  • Loading branch information
djspiewak authored Mar 6, 2024
2 parents 4fc5628 + f79c899 commit 7c927ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,7 @@ jobs:
- name: Post release to Discord
env:
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
run: scripts/post-release-discord.sh ${{ github.ref }}
run: scripts/post-release-discord.sh ${{ github.ref_name }}

dependency-submission:
name: Submit Dependencies
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ ThisBuild / githubWorkflowBuild := Seq("JVM", "JS", "Native").map { platform =>

ThisBuild / githubWorkflowPublish +=
WorkflowStep.Run(
List("scripts/post-release-discord.sh ${{ github.ref }}"),
List("scripts/post-release-discord.sh ${{ github.ref_name }}"),
name = Some("Post release to Discord"),
env = Map("DISCORD_WEBHOOK_URL" -> "${{ secrets.DISCORD_WEBHOOK_URL }}")
)
Expand Down

0 comments on commit 7c927ce

Please sign in to comment.