Update external major #841
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: AIO App CI | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| jobs: | ||
| deploy: | ||
| name: Deploy to Stage | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| max-parallel: 1 | ||
| matrix: | ||
| node-version: ['12'] | ||
| os: [ubuntu-latest] | ||
| steps: | ||
| - 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/[email protected] | ||
| with: | ||
| os: ${{ matrix.os }} | ||
| version: 8.x.x | ||
| - name: Build | ||
| env: | ||
| AIO_RUNTIME_NAMESPACE: ${{ secrets.AIO_RUNTIME_NAMESPACE_STAGE }} | ||
| uses: adobe/[email protected] | ||
| 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 }} | ||
| AIO_PROJECT_ID: ${{ secrets.AIO_PROJECT_ID_STAGE }} | ||
| AIO_PROJECT_NAME: ${{ secrets.AIO_PROJECT_NAME_STAGE }} | ||
| AIO_PROJECT_ORG_ID: ${{ secrets.AIO_PROJECT_ORG_ID_STAGE }} | ||
| AIO_PROJECT_WORKSPACE_ID: ${{ secrets.AIO_PROJECT_WORKSPACE_ID_STAGE }} | ||
| AIO_PROJECT_WORKSPACE_NAME: ${{ secrets.AIO_PROJECT_WORKSPACE_NAME_STAGE }} | ||
| AIO_PROJECT_WORKSPACE_DETAILS_SERVICES: ${{ secrets.AIO_PROJECT_WORKSPACE_DETAILS_SERVICES_STAGE }} uses: adobe/[email protected] | ||
| with: | ||
| os: ${{ matrix.os }} | ||
| command: deploy | ||