Merge pull request #1530 from EnergySage/CED-1857-accessibility-dod #66
This file contains 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: build & deploy esds 3.0 | |
on: | |
push: | |
branches: | |
- esds-3.0-vue3-primevue | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- name: Checkout Repo ποΈ | |
uses: actions/checkout@v4 | |
with: | |
ref: esds-3.0-vue3-primevue | |
- 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: Link ES-DS Version 3 π | |
working-directory: | |
shell: bash | |
run: | | |
cd es-ds-styles; npm link | |
cd ../es-ds-components; npm link | |
cd ../es-ds-docs; npm link @energysage/es-ds-styles @energysage/es-ds-components | |
- name: Build ES-DS Version 3 π οΈ | |
working-directory: ./es-ds-docs | |
shell: bash | |
run: | | |
npx nuxt generate | |
- name: Deploy to S3 π | |
working-directory: ./es-ds-docs | |
shell: bash | |
run: | | |
aws s3 cp --recursive .output/public/ s3://es-ds-version-2 |