Skip to content

A few more styling details #16

A few more styling details

A few more styling details #16

Workflow file for this run

name: Build angular app and deploy to S3
on:
push:
branches: [ "main", "dev" ]
permissions:
id-token: write
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: npm Install
run: npm install
- name: Install Angular CLI
run: npm install -g @angular/cli
- name: Build Angular App
run: ng build --configuration development
- name: Configure AWS credentials for Github Actions
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::105459448871:role/GithubProviderRole
- name: Deploy to S3
run: aws s3 sync dist/periodic-table/browser s3://periodic-table-dev --acl public-read