mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
[Workflow: Build] Deploy skipping only checked for push event, plus requires hashtag #no-deploy
This commit is contained in:
@@ -15,7 +15,7 @@ env:
|
||||
|
||||
jobs:
|
||||
push_backend:
|
||||
if: '!contains(github.event.head_commit.message, "no-deploy")'
|
||||
if: 'github.event.label.name == "push" && !contains(github.event.head_commit.message, "#no-deploy")'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
docker tag $BACKEND_IMAGE_NAME $IMAGE_ID:$VERSION
|
||||
docker push $IMAGE_ID:$VERSION
|
||||
push_frontend:
|
||||
if: '!contains(github.event.head_commit.message, "no-deploy")'
|
||||
if: 'github.event.label.name == "push" && !contains(github.event.head_commit.message, "#no-deploy")'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
packages: write
|
||||
|
||||
Reference in New Issue
Block a user