Skip to content

fix root hosted zone #40

fix root hosted zone

fix root hosted zone #40

Workflow file for this run

name: Deploy
on: [push]
jobs:
staging:
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: 'us-east-1'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- run: (cd ui && npm ci && npx webpack)
- run: (cd cdk && npm ci && STAGE=staging npx cdk deploy)
staging-cypress:
runs-on: ubuntu-latest
needs: staging
steps:
- uses: actions/checkout@v4
- uses: cypress-io/github-action@v2
with:
working-directory: ui-tests
prod:
runs-on: ubuntu-latest
needs: staging-cypress
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: 'us-east-1'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
- run: (cd ui && npm ci && npx webpack)
- run: (cd cdk && npm ci && STAGE=prod npx cdk deploy)