Skip to content

changing the name of the uuid field #1453

changing the name of the uuid field

changing the name of the uuid field #1453

Workflow file for this run

name: Deploy to AWS
on:
push:
branches:
- main
permissions:
contents: read
id-token: write
jobs:
deploy:
strategy:
fail-fast: false
matrix:
include:
- env: dev
url: https://dev.gcn.nasa.gov
- env: test
url: https://test.gcn.nasa.gov
- env: prod
url: https://gcn.nasa.gov
environment:
name: ${{ matrix.env }}
url: ${{ matrix.url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '18'
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- name: NPM Install
run: npm ci
- name: Build
run: npm run build
- name: Install Python dependencies
run: docker run --rm --platform linux/arm64 -v $(pwd):/src python:3.11 sh -c 'apt-get update && apt-get -y install --no-install-recommends npm && cd src && npx arc hydrate'
- name: Configure aws credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_IAM_ROLE }}
aws-region: us-east-1
- name: Deploy
run: npx arc deploy --prune --production --no-hydrate