Skip to content

Commit 06e693c

Browse files
Fix shopware and sylius env deploy version and create oro deploy script
1 parent 623394d commit 06e693c

File tree

3 files changed

+46
-4
lines changed

3 files changed

+46
-4
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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 }}

.github/workflows/deploy-demo-shopware.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
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:
@@ -28,7 +28,7 @@ jobs:
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:

.github/workflows/deploy-demo-sylius.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
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:
@@ -28,7 +28,7 @@ jobs:
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:

0 commit comments

Comments
 (0)