Skip to content

Commit

Permalink
Github Migration
Browse files Browse the repository at this point in the history
Signed-off-by: csavulalfx <cavula@contractor.linuxfoundation.org>
  • Loading branch information
csavulalfx committed Mar 5, 2024
1 parent 87fa196 commit fcb54f1
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ jobs:
node-version: 16
cache: yarn
cache-dependency-path: "yarn.lock"

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }}
aws-region: us-east-1
role-duration-seconds: 900

- name: Install Top Level Dependencies
run: yarn install
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ jobs:
cache: yarn
cache-dependency-path: "yarn.lock"

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }}
aws-region: us-east-1
role-duration-seconds: 900

- name: Build dev
run: yarn build:${STAGE}

Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ jobs:
node-version: 16
cache: yarn
cache-dependency-path: "yarn.lock"

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_KEY }}
aws-region: us-east-1
role-duration-seconds: 900

- name: Build prod
run: yarn build:${STAGE}
Expand Down

0 comments on commit fcb54f1

Please sign in to comment.