mirror of
https://github.com/msfjarvis/msfjarvis.dev.git
synced 2024-06-03 04:18:56 +05:30
github: add checks to prevent unnecessary runs
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
e87e1c8815
commit
67fba3aab6
2
.github/workflows/deploy-to-cloudflare.yml
vendored
2
.github/workflows/deploy-to-cloudflare.yml
vendored
|
@ -7,6 +7,7 @@ on:
|
|||
|
||||
jobs:
|
||||
deploy-main:
|
||||
if: "contains(github.event.head_commit.message, '[deploy]')"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
@ -35,6 +36,7 @@ jobs:
|
|||
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
|
||||
|
||||
deploy-staging:
|
||||
if: "contains(github.event.head_commit.message, '[staging]')"
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
|
Loading…
Reference in New Issue
Block a user