Update buildAndDeploy.yml

This commit is contained in:
Yair Morgenstern 2021-01-22 13:46:11 +02:00 committed by GitHub
parent 01849c7168
commit 80bf7640c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,13 +20,13 @@ jobs:
# This workflow contains a single job called "build"
build:
# We can't simply put !startsWith - see https://github.community/t/expression-syntax-for-not-startswith/17040
if: startsWith(github.event.commmits[0].message, 'Update ') != true
if: 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
steps:
- name: check
run: echo ${{ github.event.commmits[0].message }}
run: echo ${{ github.event.commits[0] }}
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2