Skip to content

Commit

Permalink
infra: use upload/download artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenkhavi committed Dec 22, 2023
1 parent 1497c58 commit b949b20
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ jobs:
run: |
yarn
yarn nx run-many -t build --all
- name: Archive production artifacts
uses: actions/upload-artifact@v3
with:
name: dist
path: dist
retention-days: 7

iam_deploy:
needs: build_asset
name: Deploy IAM Task execution Role Development
Expand All @@ -44,6 +51,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download dist
uses: actions/download-artifact@v3
with:
name: dist
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
Expand Down Expand Up @@ -75,6 +86,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download dist
uses: actions/download-artifact@v3
with:
name: dist
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
Expand Down

0 comments on commit b949b20

Please sign in to comment.