Skip to content

v2.0.0

v2.0.0 #91

Workflow file for this run

name: build & deploy
on:
push:
branches:
- esds-2.0-visual-identity
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Checkout Repo 🗃️
uses: actions/checkout@v4
with:
ref: esds-2.0-visual-identity
- name: Log into ES_DS_DEV AWS account 🔑
id: creds
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::453321834875:role/github-write-to-s3
output-credentials: true
- name: Log into CodeArtifact 🗝️
shell: bash
run: |
aws codeartifact login --tool npm --domain energysage --domain-owner 659694780082 --repository cloud-engineering
- name: Building ES-DS version 2
working-directory: ./es-design-system
shell: bash
run: |
npm install
npx nuxt generate
- name: Deploying to S3 📍
working-directory: ./es-design-system
shell: bash
run: |
aws s3 cp --recursive ./dist/ s3://es-ds-version-2