clevertap-web-sdk
Version:
<p align="center"> <img src="https://github.com/CleverTap/clevertap-ios-sdk/blob/master/docs/images/clevertap-logo.png" width = "50%"/> </p>
30 lines (29 loc) • 791 B
YAML
version: v1.0
name: Build Pipeline
agent:
machine:
type: f1-standard-2
os_image: ubuntu2204
blocks:
- name: Build Assets
task:
jobs:
- name: Checkout and Create Artifact
commands:
- checkout
- artifact push workflow clevertap.min.js
- artifact push workflow clevertap.js
- artifact push workflow clevertap.js.map
- |
set -euo pipefail
npm install
npm run build_sw
- artifact push workflow sw_webpush.min.js
- artifact push workflow sw_webpush.js
promotions:
- name: Production
pipeline_file: production-deploy.yml
- name: Staging
pipeline_file: staging-deploy.yml
auto_promote:
when: result = 'passed'