Skip to content

Commit

Permalink
fix actions
Browse files Browse the repository at this point in the history
  • Loading branch information
kaarthik108 committed Jul 31, 2023
1 parent 1cd39ab commit 4cad41a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,26 @@ jobs:
name: Update
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version-file: pulumi/package.json
node-version-file: ".nvmrc"
cache: "npm"

- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-region: ${{ secrets.AWS_REGION }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- run: cd pulumi && npm install
- uses: pulumi/actions@v3

- run: cd pulumi && npm ci

- name: Pulumi Update
uses: pulumi/actions@v4
with:
command: up
stack-name: dev
Expand Down
1 change: 1 addition & 0 deletions pulumi/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18

0 comments on commit 4cad41a

Please sign in to comment.