workflow only if commit on main
This commit is contained in:
parent
e4b81a8dc0
commit
5015633ef4
9
.github/workflows/frontend.yaml
vendored
9
.github/workflows/frontend.yaml
vendored
|
|
@ -3,11 +3,10 @@ name: Oktopus Frontend
|
|||
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||
# events but only for the master branch
|
||||
on:
|
||||
workflow_dispatch # This event triggers the workflow manually
|
||||
#push:
|
||||
# branches: [ dev ]
|
||||
#pull_request:
|
||||
# branches: [ dev ]
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
|
|
|
|||
9
.github/workflows/mqtt.yaml
vendored
9
.github/workflows/mqtt.yaml
vendored
|
|
@ -3,11 +3,10 @@ name: Oktopus MQTT Broker
|
|||
# Controls when the action will run. Triggers the workflow on push or pull request
|
||||
# events but only for the master branch
|
||||
on:
|
||||
workflow_dispatch # This event triggers the workflow manually
|
||||
#push:
|
||||
# branches: [ dev ]
|
||||
#pull_request:
|
||||
# branches: [ dev ]
|
||||
push:
|
||||
branches: [ main ]
|
||||
pull_request:
|
||||
branches: [ main ]
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user