Skip to content

Commit

Permalink
💚 Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
harehare committed May 24, 2024
1 parent d68fe1f commit 5d9c31e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/create_tag.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
name: create tag
on:
pull_request:
branches:
- master
types: [closed]
workflow_dispatch:

jobs:
create-tag:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
steps:
- name: Checkout Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -38,5 +40,6 @@ jobs:
if: env.TAG_IS_EXISTING == 'false'
uses: marvinpinto/action-automatic-releases@latest
with:
automatic_release_tag: v${{ steps.package-version.outputs.current-version }}
prerelease: false
repo_token: "${{ secrets.GITHUB_TOKEN }}"
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ on:
type: choice
options:
- master
- refs/tags/v0.14.6
- refs/tags/v0.14.7
- refs/tags/v0.14.8

jobs:
deploy:
Expand Down

0 comments on commit 5d9c31e

Please sign in to comment.