Skip to content

[RELEASE] 1.7.0-test.1 #100

[RELEASE] 1.7.0-test.1

[RELEASE] 1.7.0-test.1 #100

Workflow file for this run

name: Test Deployment
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+-test.[0-9]+'
jobs:
#
# OneBlink Tenant
#
OneBlinkTest:
name: Test Deployment (OneBlink)
runs-on: ubuntu-latest
environment: OneBlink Test
env:
TENANT: 'oneblink'
ENVIRONMENT: 'test'
PUBLIC_URL: https://oneblink-forms-test.cdn.oneblink.io
ONEBLINK_ACCESS_KEY: ${{ secrets.ONEBLINK_ACCESS_KEY }}
ONEBLINK_SECRET_KEY: ${{ secrets.ONEBLINK_SECRET_KEY }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm install --global npm@10
- run: npm ci
- run: npm run build
- run: npx oneblink cdn scope oneblink-forms.cdn.oneblink.io
- run: npx oneblink cdn deploy dist --env test --force
#
# CivicPlus Tenant
#
CivicPlusTest:
name: Test Deployment (CivicPlus)
runs-on: ubuntu-latest
environment: CivicPlus Test
env:
TENANT: 'civicplus'
ENVIRONMENT: 'test'
PUBLIC_URL: https://civicplus-forms-test.cdn.transform.civicplus.com
ONEBLINK_ACCESS_KEY: ${{ secrets.ONEBLINK_ACCESS_KEY }}
ONEBLINK_SECRET_KEY: ${{ secrets.ONEBLINK_SECRET_KEY }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- run: npm install --global npm@10
- run: npm ci
- run: npm run build
- run: npx civicplus cdn scope civicplus-forms.cdn.transform.civicplus.com
- run: npx civicplus cdn deploy dist --env test --force