2020 with :
2121 token : ${{ secrets.GITHUB_TOKEN }}
2222
23- deploy-bug-bounty :
23+ # Re-enable this when the PR is ready to be merged
24+ # deploy-bug-bounty:
25+ # if: env.IS_LATEST_RELEASE == 'true'
26+ # needs: check-latest-release
27+ # runs-on: ubuntu-latest
28+ # steps:
29+ # - name: Checkout
30+ # uses: actions/checkout@v4
31+
32+ # - name: Setup node
33+ # id: setup_node
34+ # uses: actions/setup-node@v4
35+ # with:
36+ # node-version: 22
37+ # cache: "npm"
38+
39+ # - name: Install Monorepo Dependencies
40+ # run: |-
41+ # # Install node dependencies
42+ # node ./scripts/gtime.js monorepo_install npm ci
43+
44+ # - name: Generate Retail App Demo
45+ # uses: ./.github/actions/e2e_generate_app
46+ # with:
47+ # PROJECT_KEY: "retail-react-app-bug-bounty"
48+
49+ # - name: Create MRT credentials file
50+ # uses: "./.github/actions/create_mrt"
51+ # with:
52+ # mobify_user: ${{ secrets.MOBIFY_STG_CLIENT_USER }}
53+ # mobify_api_key: ${{ secrets.MOBIFY_STG_CLIENT_API_KEY }}
54+
55+ # - name: Push Bundle to MRT (Bug Bounty)
56+ # uses: "./.github/actions/push_to_mrt"
57+ # with:
58+ # CWD: "../generated-projects/retail-react-app-bug-bounty"
59+ # TARGET: testing
60+ # PROJECT: pwa-kit
61+ # MESSAGE: "tag ${{ github.event.release.tag_name }}"
62+ # FLAGS: --cloud-origin https://cloud-testing.mobify-staging.com -c ~/.mobify --wait
63+
64+ deploy-demo-site :
65+ if : env.IS_LATEST_RELEASE == 'true'
2466 needs : check-latest-release
2567 runs-on : ubuntu-latest
2668 steps :
@@ -42,19 +84,19 @@ jobs:
4284 - name : Generate Retail App Demo
4385 uses : ./.github/actions/e2e_generate_app
4486 with :
45- PROJECT_KEY : " retail-react-app-bug-bounty "
87+ PROJECT_KEY : " retail-react-app-demo-site "
4688
4789 - name : Create MRT credentials file
4890 uses : " ./.github/actions/create_mrt"
4991 with :
50- mobify_user : ${{ secrets.MOBIFY_STG_CLIENT_USER }}
51- mobify_api_key : ${{ secrets.MOBIFY_STG_CLIENT_API_KEY }}
92+ mobify_user : ${{ secrets.MOBIFY_CLIENT_USER }}
93+ mobify_api_key : ${{ secrets.MOBIFY_CLIENT_API_KEY }}
5294
53- - name : Push Bundle to MRT (Bug Bounty )
95+ - name : Push Bundle to MRT (Demo Site )
5496 uses : " ./.github/actions/push_to_mrt"
5597 with :
56- CWD : " ../generated-projects/retail-react-app-bug-bounty "
57- TARGET : testing
58- PROJECT : pwa-kit
98+ CWD : " ../generated-projects/retail-react-app-demo-site "
99+ TARGET : production
100+ PROJECT : scaffold-pwa
59101 MESSAGE : " tag ${{ github.event.release.tag_name }}"
60- FLAGS : --cloud-origin https://cloud-testing.mobify-staging.com -c ~/.mobify -- wait
102+ FLAGS : --wait
0 commit comments