Fix worksflow

This commit is contained in:
EstrellaXD
2023-05-14 11:21:52 +08:00
parent 82bc161e8f
commit fbf13768d1
2 changed files with 3 additions and 5 deletions

View File

@@ -2,8 +2,6 @@ name: Deploy To Dockerhub(dev)
on:
push:
branches:
- '*-dev'
tags:
- '\d+\.\d+\.\d+-beta\d+'
- '\d+\.\d+-beta\d+'

View File

@@ -10,9 +10,9 @@ on:
jobs:
generate_release_draft:
runs-on: ubuntu-latest
if:
- github.event.pull_request.merged == true
- github.event.pull_request.base.ref == 'main'
if: >
github.event.pull_request.merged == true &&
github.event.pull_request.base.ref == 'main'
steps:
- name: Checkout code
uses: actions/checkout@v2