Skip to content

Commit

Permalink
Fix ref tag format and workflow_dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
pst committed Sep 10, 2023
1 parent 7722d67 commit a787db7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
- uses: actions/github-script@v6
with:
script: |
const tag = context.ref.replace("refs/heads/release-", "")
const tag = context.ref.replace("refs/heads/release-", "refs/tags/")
github.rest.git.createRef({
owner: context.repo.owner,
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/promote.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Promote

on:
workflow_dispatch:
on: workflow_dispatch

jobs:
#
Expand Down

0 comments on commit a787db7

Please sign in to comment.