File tree Expand file tree Collapse file tree 3 files changed +46
-4
lines changed
Expand file tree Collapse file tree 3 files changed +46
-4
lines changed Original file line number Diff line number Diff line change 1+ name : Deploy gally oro demo
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ skip_tests :
7+ description : ' Skip tests before delivery ?'
8+ type : boolean
9+ default : false
10+ required : false
11+
12+ jobs :
13+ tests :
14+ name : Tests
15+ if : ${{ inputs.skip_tests == false }}
16+ uses : ./.github/workflows/tests.yml
17+ with :
18+ version : ${{ github.ref_name }}
19+ last_published_version : 2.0.0
20+ secrets : inherit
21+
22+ deploy-demo-shopware :
23+ needs : tests
24+ name : Deploy gally for oro demo
25+ if : |
26+ always() &&
27+ (needs.tests.result == 'success' || needs.tests.result == 'skipped')
28+ uses : ./.github/workflows/deploy-int.yml
29+ with :
30+ version : ${{ github.ref_name }}
31+ last_published_version : 2.0.0
32+ back_version_is_tag : false
33+ front_version_is_tag : false
34+ secrets :
35+ AWS_DEPLOY_KEY : ${{ secrets.AWS_DEPLOY_KEY }}
36+ AWS_HOSTNAME : ${{ secrets.AWS_HOSTNAME_DEMO_ORO }}
37+ AWS_USER : ${{ secrets.AWS_USER }}
38+ APP_SECRET : ${{ secrets.APP_SECRET }}
39+ POSTGRES_PASSWORD : ${{ secrets.POSTGRES_PASSWORD }}
40+ COMPOSER_AUTH : ${{ secrets.COMPOSER_AUTH }}
41+ PACKAGIST_URL : ${{ secrets.PACKAGIST_URL }}
42+ MEDIA_URL : ${{ secrets.MEDIA_URL_DEMO_ORO }}
Original file line number Diff line number Diff line change 1616 uses : ./.github/workflows/tests.yml
1717 with :
1818 version : ${{ github.ref_name }}
19- last_published_version : 1.3.1
19+ last_published_version : 2.0.0
2020 secrets : inherit
2121
2222 deploy-demo-shopware :
2828 uses : ./.github/workflows/deploy-int.yml
2929 with :
3030 version : ${{ github.ref_name }}
31- last_published_version : 1.3.1
31+ last_published_version : 2.0.0
3232 back_version_is_tag : false
3333 front_version_is_tag : false
3434 secrets :
Original file line number Diff line number Diff line change 1616 uses : ./.github/workflows/tests.yml
1717 with :
1818 version : ${{ github.ref_name }}
19- last_published_version : 1.3.1
19+ last_published_version : 2.0.0
2020 secrets : inherit
2121
2222 deploy-demo-sylius :
2828 uses : ./.github/workflows/deploy-int.yml
2929 with :
3030 version : ${{ github.ref_name }}
31- last_published_version : 1.3.1
31+ last_published_version : 2.0.0
3232 back_version_is_tag : false
3333 front_version_is_tag : false
3434 secrets :
You can’t perform that action at this time.
0 commit comments