File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Blackfire
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ - develop
8+ pull_request :
9+ # The branches below must be a subset of the branches above
10+ branches :
11+ - main
12+ - develop
13+ schedule :
14+ - cron : ' 36 19 * * 0'
15+
16+ permissions :
17+ contents : read
18+
19+ jobs :
20+ build :
21+ runs-on : ubuntu-latest
22+
23+ steps :
24+ - uses : actions/checkout@v2
25+
26+ - name : Setup Blackfire via setup-php Action
27+ uses : shivammathur/setup-php@v2
28+ with :
29+ # PHP Only: Setup PHP extensions, including Blackfire Probe.
30+ # It is recommended to disable xdebug.
31+ # Not needed for other languages.
32+ extensions : blackfire, :xdebug
33+ # Setup Blackfire Agent and CLI tool, and Blackfire Player
34+ tools : blackfire, blackfire-player
35+ env :
36+ BLACKFIRE_SERVER_ID : ${{ secrets.BLACKFIRE_SERVER_ID }}
37+ BLACKFIRE_SERVER_TOKEN : ${{ secrets.BLACKFIRE_SERVER_TOKEN }}
38+ BLACKFIRE_CLIENT_ID : ${{ secrets.BLACKFIRE_CLIENT_ID }}
39+ BLACKFIRE_CLIENT_TOKEN : ${{ secrets.BLACKFIRE_CLIENT_TOKEN }}
40+
41+ - name : Profile default command
42+ env :
43+ APP_ENV : prod
44+ APP_DEBUG : 0
45+ run : blackfire run php bin/studoo
You can’t perform that action at this time.
0 commit comments