mirror of
https://github.com/yairm210/Unciv.git
synced 2025-03-06 07:31:26 +07:00
Update buildAndDeploy.yml
This commit is contained in:
parent
d22ed53544
commit
68b308dd26
4
.github/workflows/buildAndDeploy.yml
vendored
4
.github/workflows/buildAndDeploy.yml
vendored
@ -19,8 +19,10 @@ on:
|
||||
jobs:
|
||||
# This workflow contains a single job called "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
|
||||
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
|
||||
|
||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||
|
Loading…
Reference in New Issue
Block a user