mirror of
https://github.com/yairm210/Unciv.git
synced 2025-08-03 00:29:18 +07:00
Update buildAndDeploy.yml
This commit is contained in:
4
.github/workflows/buildAndDeploy.yml
vendored
4
.github/workflows/buildAndDeploy.yml
vendored
@ -19,8 +19,10 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
# This workflow contains a single job called "build"
|
# This workflow contains a single job called "build"
|
||||||
build:
|
build:
|
||||||
|
# On push events only, if it's a "Update X" commit, it's probably something done through the UI -
|
||||||
|
# so an .md or yaml change, and not something we need to rebuild over
|
||||||
# We can't simply put !startsWith - see https://github.community/t/expression-syntax-for-not-startswith/17040
|
# We can't simply put !startsWith - see https://github.community/t/expression-syntax-for-not-startswith/17040
|
||||||
if: startsWith(github.event.commits[0].message, 'Update ') != true
|
if: github.event_name != 'push' || startsWith(github.event.commits[0].message, 'Update ') != true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
|
Reference in New Issue
Block a user