@@ -38,79 +38,83 @@ jobs:
3838 env :
3939 BUNDLE_NAME : " ${{ github.event.release.tag_name }} && 'tag ${{ github.event.release.tag_name }}' || 'build ${{ github.run_id }} on ${{ github.ref }} (${{ github.sha }})' "
4040 steps :
41- - name : Checkout
42- uses : actions/checkout@v4
41+ - name : Print bundle name
42+ run : |-
43+ echo $BUNDLE_NAME
4344
44- - name : Setup node
45- id : setup_node
46- uses : actions/setup-node@v4
47- with :
48- node-version : 22
49- cache : " npm"
45+ # - name: Checkout
46+ # uses: actions/checkout@v4
5047
51- - name : Install Monorepo Dependencies
52- run : |-
53- # Install node dependencies
54- node ./scripts/gtime.js monorepo_install npm ci
48+ # - name: Setup node
49+ # id: setup_node
50+ # uses: actions/setup-node@v4
51+ # with:
52+ # node-version: 22
53+ # cache: "npm"
5554
56- - name : Generate Retail App Demo
57- uses : ./.github/actions/e2e_generate_app
58- with :
59- PROJECT_KEY : " retail-react-app-bug-bounty "
55+ # - name: Install Monorepo Dependencies
56+ # run: |-
57+ # # Install node dependencies
58+ # node ./scripts/gtime.js monorepo_install npm ci
6059
61- - name : Create MRT credentials file
62- uses : " ./.github/actions/create_mrt"
63- with :
64- mobify_user : ${{ secrets.MOBIFY_STG_CLIENT_USER }}
65- mobify_api_key : ${{ secrets.MOBIFY_STG_CLIENT_API_KEY }}
60+ # - name: Generate Retail App Demo
61+ # uses: ./.github/actions/e2e_generate_app
62+ # with:
63+ # PROJECT_KEY: "retail-react-app-bug-bounty"
6664
67- - name : Push Bundle to MRT (Bug Bounty)
68- uses : " ./.github/actions/push_to_mrt"
69- with :
70- CWD : " ../generated-projects/retail-react-app-bug-bounty"
71- TARGET : testing
72- PROJECT : pwa-kit
73- MESSAGE : $BUNDLE_NAME
74- FLAGS : --cloud-origin https://cloud-testing.mobify-staging.com -c ~/.mobify --wait
65+ # - name: Create MRT credentials file
66+ # uses: "./.github/actions/create_mrt"
67+ # with:
68+ # mobify_user: ${{ secrets.MOBIFY_STG_CLIENT_USER }}
69+ # mobify_api_key: ${{ secrets.MOBIFY_STG_CLIENT_API_KEY }}
70+
71+ # - name: Push Bundle to MRT (Bug Bounty)
72+ # uses: "./.github/actions/push_to_mrt"
73+ # with:
74+ # CWD: "../generated-projects/retail-react-app-bug-bounty"
75+ # TARGET: testing
76+ # PROJECT: pwa-kit
77+ # MESSAGE: $BUNDLE_NAME
78+ # FLAGS: --cloud-origin https://cloud-testing.mobify-staging.com -c ~/.mobify --wait
7579
7680 deploy-demo-site :
7781 needs : check-latest-release
7882 runs-on : ubuntu-latest
79- if : needs.check-latest-release.outputs.IS_LATEST_RELEASE ! = 'true'
83+ if : needs.check-latest-release.outputs.IS_LATEST_RELEASE = = 'true'
8084 env :
81- BUNDLE_NAME : " ${{ github.event.release.tag_name }} && 'tag ${{ github.event.release.tag_name }} ' || 'build ${{ github.run_id }} on ${{ github.ref }} (${{ github.sha }})' "
85+ BUNDLE_NAME : " ${{ $ github.event.release.tag_name && 'tag $github.event.release.tag_name ' || 'build $github.run_id on github.ref ( github.sha )'}} "
8286 steps :
83- - name : Checkout
84- uses : actions/checkout@v4
87+ # - name: Checkout
88+ # uses: actions/checkout@v4
8589
86- - name : Setup node
87- id : setup_node
88- uses : actions/setup-node@v4
89- with :
90- node-version : 22
91- cache : " npm"
90+ # - name: Setup node
91+ # id: setup_node
92+ # uses: actions/setup-node@v4
93+ # with:
94+ # node-version: 22
95+ # cache: "npm"
9296
93- - name : Install Monorepo Dependencies
94- run : |-
95- # Install node dependencies
96- node ./scripts/gtime.js monorepo_install npm ci
97+ # - name: Install Monorepo Dependencies
98+ # run: |-
99+ # # Install node dependencies
100+ # node ./scripts/gtime.js monorepo_install npm ci
97101
98- - name : Generate Retail App Demo
99- uses : ./.github/actions/e2e_generate_app
100- with :
101- PROJECT_KEY : " retail-react-app-demo-site"
102+ # - name: Generate Retail App Demo
103+ # uses: ./.github/actions/e2e_generate_app
104+ # with:
105+ # PROJECT_KEY: "retail-react-app-demo-site"
102106
103- - name : Create MRT credentials file
104- uses : " ./.github/actions/create_mrt"
105- with :
106- mobify_user : ${{ secrets.MOBIFY_CLIENT_USER }}
107- mobify_api_key : ${{ secrets.MOBIFY_CLIENT_API_KEY }}
107+ # - name: Create MRT credentials file
108+ # uses: "./.github/actions/create_mrt"
109+ # with:
110+ # mobify_user: ${{ secrets.MOBIFY_CLIENT_USER }}
111+ # mobify_api_key: ${{ secrets.MOBIFY_CLIENT_API_KEY }}
108112
109- - name : Push Bundle to MRT (Demo Site)
110- uses : " ./.github/actions/push_to_mrt"
111- with :
112- CWD : " ../generated-projects/retail-react-app-demo-site"
113- TARGET : staging
114- PROJECT : scaffold-pwa
115- MESSAGE : $BUNDLE_NAME
116- FLAGS : --wait
113+ # - name: Push Bundle to MRT (Demo Site)
114+ # uses: "./.github/actions/push_to_mrt"
115+ # with:
116+ # CWD: "../generated-projects/retail-react-app-demo-site"
117+ # TARGET: staging
118+ # PROJECT: scaffold-pwa
119+ # MESSAGE: $BUNDLE_NAME
120+ # FLAGS: --wait
0 commit comments