Production Deployment #139
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Production Deployment | |
| on: [workflow_dispatch] | |
| jobs: | |
| # | |
| # OneBlink Tenant | |
| # | |
| OneBlinkProduction: | |
| name: Production Deployment (OneBlink) | |
| runs-on: ubuntu-latest | |
| environment: OneBlink Production | |
| env: | |
| TENANT: 'oneblink' | |
| ENVIRONMENT: 'prod' | |
| PUBLIC_URL: https://oneblink-forms.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 prod --force | |
| # | |
| # CivicPlus Tenant | |
| # | |
| CivicPlusProduction: | |
| name: Production Deployment (CivicPlus) | |
| runs-on: ubuntu-latest | |
| environment: CivicPlus Production | |
| env: | |
| TENANT: 'civicplus' | |
| ENVIRONMENT: 'prod' | |
| PUBLIC_URL: https://civicplus-forms.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 prod --force |