Skip to content

MWPW-145191 - Promote Graybox files after MDAST cleanup (#11) #19

MWPW-145191 - Promote Graybox files after MDAST cleanup (#11)

MWPW-145191 - Promote Graybox files after MDAST cleanup (#11) #19

Workflow file for this run

name: AIO App CI
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy to Stage
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 1
matrix:
node-version: ['16']
os: [ubuntu-latest]
steps:
- name: Check Repo Variables
run: |
echo "GROUP_CHECK_URL : $GROUP_CHECK_URL"
echo "GRAYBOX_USER_GROUPS : $GRAYBOX_USER_GROUPS"
env:
GROUP_CHECK_URL: ${{ vars.GROUP_CHECK_URL }}
GRAYBOX_USER_GROUPS: ${{ vars.GRAYBOX_USER_GROUPS }}
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: npm install
run: npm i
- name: Setup CLI
uses: adobe/aio-cli-setup-action@1.3.0
with:
os: ${{ matrix.os }}
version: 10.x.x
- name: Build
env:
AIO_RUNTIME_NAMESPACE: ${{ secrets.AIO_RUNTIME_NAMESPACE_STAGE }}
AIO_RUNTIME_AUTH: ${{ secrets.AIO_RUNTIME_AUTH_STAGE }}
GROUP_CHECK_URL: ${{ vars.GROUP_CHECK_URL }}
GRAYBOX_USER_GROUPS: ${{ vars.GRAYBOX_USER_GROUPS }}
SPLUNK_HEC__HEC_TOKEN: ${{ secrets.SPLUNK_HEC_TOKEN_STAGE }}
uses: adobe/aio-apps-action@3.3.0
with:
os: ${{ matrix.os }}
command: build
- name: Deploy
env:
AIO_RUNTIME_NAMESPACE: ${{ secrets.AIO_RUNTIME_NAMESPACE_STAGE }}
AIO_RUNTIME_AUTH: ${{ secrets.AIO_RUNTIME_AUTH_STAGE }}
uses: adobe/aio-apps-action@3.3.0
with:
os: ${{ matrix.os }}
command: deploy
noPublish: true