Skip to content

Commit

Permalink
fix(infra): point to pulumi dependencies and pulumi dir (passportxyz#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-schultz authored Sep 18, 2023
1 parent d776ec2 commit 15e714c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/iam-promote-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,14 @@ jobs:
uses: actions/setup-node@v2
with:
cache: "yarn"
cache-dependency-path: infra/production/package-lock.json
cache-dependency-path: infra/package-lock.json
# Update the pulumi stack with new image
- run: |
npm install
cd prod
pulumi stack select -c gitcoin/dpopp/production
pulumi config -s gitcoin/dpopp/production set aws:region us-east-1 --non-interactive
working-directory: infra/production
working-directory: infra
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
- uses: pulumi/actions@v3
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/iam-promote-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,14 @@ jobs:
uses: actions/setup-node@v2
with:
cache: "yarn"
cache-dependency-path: infra/staging/package-lock.json
cache-dependency-path: infra/package-lock.json
# Update the pulumi stack with new image
- run: |
npm install
cd staging
pulumi stack select -c gitcoin/dpopp/staging
pulumi config -s gitcoin/dpopp/staging set aws:region us-east-1 --non-interactive
working-directory: infra/staging
working-directory: infra
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
- uses: pulumi/actions@v3
Expand Down

0 comments on commit 15e714c

Please sign in to comment.