Skip to content

v3.5.4

v3.5.4 #139

Workflow file for this run

name: Node.js CI - Root
on:
release:
types:
- created
jobs:
build-dev:
runs-on: ubuntu-latest
if: github.event.release.prerelease == true
strategy:
matrix:
microapps:
[
"WEBHOOK_ROOT_DEV",
"WEBHOOK_SYLLABUS_DEV",
"WEBHOOK_CAMPUS_DEV",
"WEBHOOK_FEEDS_DEV",
"WEBHOOK_FORUMS_DEV",
]
env:
url: ${{ secrets[matrix.microapps] }}
steps:
- name: Deploy staging
run: curl -X POST -d {} "${{ env.url }}" -H "Content-Type:application/json"
build-prod:
runs-on: ubuntu-latest
if: github.event.release.prerelease != true
strategy:
matrix:
microapps:
[
"WEBHOOK_ROOT_PROD",
"WEBHOOK_SYLLABUS_PROD",
"WEBHOOK_CAMPUS_PROD",
"WEBHOOK_FEEDS_PROD",
"WEBHOOK_FORUMS_PROD",
]
env:
url: ${{ secrets[matrix.microapps] }}
steps:
- name: Deploy production
run: curl -X POST -d {} "${{ env.url }}" -H "Content-Type:application/json"