Skip to content

Deploy

Deploy #9

Workflow file for this run

name: Deploy
on:
workflow_dispatch:
jobs:
infra:
name: Provision resources
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: Configure aws credentials
uses: aws-actions/configure-aws-credentials@v3
with:
aws-region: us-east-1
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Install dependencies
run: pnpm install --frozen-lockfile
- uses: pulumi/actions@v4
with:
command: up
stack-name: prod
work-dir: infra
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}