-
Notifications
You must be signed in to change notification settings - Fork 214
39 lines (34 loc) · 1.36 KB
/
bug_bounty.yml
File metadata and controls
39 lines (34 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: SalesforceCommerceCloud/pwa-kit/bug_bounty
on:
# Runs this job when a new Github release is published
# TODO: How do we ensure this only runs for the latest major version? We don't want to run this
# for a new v2 release. But due to policy, we are not allowed to use unverified marketplace actions
# such as https://github.com/marketplace/actions/version-check
release:
types: [released]
jobs:
deploy-bug-bounty:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Monorepo Dependencies
run: |-
# Install node dependencies
node ./scripts/gtime.js monorepo_install npm ci
- name: Generate Retail App Demo
uses: ./.github/actions/e2e_generate_app
with:
PROJECT_KEY: "retail-react-app-bug-bounty"
- name: Create MRT credentials file
uses: "./.github/actions/create_mrt"
with:
mobify_user: ${{ secrets.MOBIFY_STG_CLIENT_USER }}
mobify_api_key: ${{ secrets.MOBIFY_STG_CLIENT_API_KEY }}
- name: Push Bundle to MRT (Bug Bounty)
uses: "./.github/actions/push_to_mrt"
with:
CWD: "../generated-projects/retail-react-app-bug-bounty"
TARGET: testing
PROJECT: pwa-kit
FLAGS: --cloud-origin https://cloud-testing.mobify-staging.com -c ~/.mobify --wait