[skip-ci] Update php.yml
This commit is contained in:
parent
8addb43773
commit
b6ddf1d784
|
@ -12,8 +12,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
#TODO: this is only tmp
|
if: "! contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
|
||||||
if: "contains(toJSON(github.event.commits.*.message), '[skip-ci]')"
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ./server
|
working-directory: ./server
|
||||||
|
@ -161,7 +160,7 @@ jobs:
|
||||||
|
|
||||||
staging_deployment:
|
staging_deployment:
|
||||||
if: github.event.ref == 'refs/heads/staging'
|
if: github.event.ref == 'refs/heads/staging'
|
||||||
# needs: tests
|
needs: tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: staging
|
environment: staging
|
||||||
name: Deploy to staging
|
name: Deploy to staging
|
||||||
|
@ -206,7 +205,7 @@ jobs:
|
||||||
|
|
||||||
production_deployment:
|
production_deployment:
|
||||||
if: github.event.ref == 'refs/heads/production'
|
if: github.event.ref == 'refs/heads/production'
|
||||||
# needs: tests
|
needs: tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: production
|
environment: production
|
||||||
name: Deploy to production
|
name: Deploy to production
|
||||||
|
|
Loading…
Reference in New Issue