forked from pulumi/actions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnodejs-aws.yaml
More file actions
32 lines (29 loc) · 751 Bytes
/
Copy pathnodejs-aws.yaml
File metadata and controls
32 lines (29 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Pulumi
on:
push:
branches:
- main
jobs:
up:
name: Update
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Node LTS ✨
uses: actions/setup-node@v3
with:
node-version: lts/*
cache: yarn
- name: Installing dependencies 📦️
run: yarn install
- name: Applying infrastructure 🚀
uses: pulumi/actions@v4
with:
command: up
stack-name: dev
cloud-url: s3://my-bucket-name
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'us-west-2'