mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-10-22 17:05:32 +02:00
Merge branch '5.0' into 5
This commit is contained in:
commit
003745750e
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -4,13 +4,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
pull_request:
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
# Every Sunday at 2:10pm UTC
|
|
||||||
schedule:
|
|
||||||
- cron: '10 14 * * 0'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
name: CI
|
name: CI
|
||||||
# Only run cron on the silverstripe account
|
|
||||||
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
|
||||||
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
|
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1
|
||||||
|
16
.github/workflows/dispatch-ci.yml
vendored
Normal file
16
.github/workflows/dispatch-ci.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
name: Dispatch CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
# At 2:10 PM UTC, only on Sunday and Monday
|
||||||
|
schedule:
|
||||||
|
- cron: '10 14 * * 0,1'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
dispatch-ci:
|
||||||
|
name: Dispatch CI
|
||||||
|
# Only run cron on the silverstripe account
|
||||||
|
if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Dispatch CI
|
||||||
|
uses: silverstripe/gha-dispatch-ci@v1
|
@ -39,7 +39,7 @@ dependencies:
|
|||||||
cat << 'EOF' > _ss_environment.php
|
cat << 'EOF' > _ss_environment.php
|
||||||
<?php
|
<?php
|
||||||
define('SS_DATABASE_SERVER', '127.0.0.1');
|
define('SS_DATABASE_SERVER', '127.0.0.1');
|
||||||
define('SS_DATABASE_CLASS', 'MySQLPDODatabase');
|
define('SS_DATABASE_CLASS', 'MySQLDatabase');
|
||||||
define('SS_DATABASE_USERNAME', 'ubuntu');
|
define('SS_DATABASE_USERNAME', 'ubuntu');
|
||||||
define('SS_DATABASE_PASSWORD', '');
|
define('SS_DATABASE_PASSWORD', '');
|
||||||
define('SS_ENVIRONMENT_TYPE', 'dev');
|
define('SS_ENVIRONMENT_TYPE', 'dev');
|
||||||
|
Loading…
Reference in New Issue
Block a user