Skip to content

remove wcm service, prep for sst v3 migration #28

remove wcm service, prep for sst v3 migration

remove wcm service, prep for sst v3 migration #28

Workflow file for this run

on:
push:
branches:
- 'main'
- 'develop'
paths:
- 'frontend/**'
- '.github/workflows/frontend.yaml'
name: Frontend
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
deploy:
defaults:
run:
working-directory: ./frontend
runs-on: ubuntu-latest
name: Publishes this SST stack
steps:
- uses: actions/checkout@v3
- id: pnpm-install
uses: mattwyskiel/sst-node-pnpm-setup@v3
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
- run: pnpm i
shell: bash
- run: cd web && bundle install
shell: bash
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::662292074719:role/whiskey-app-role
role-session-name: sst-pnpm-workflows-sample
- run: pnpm sst deploy --stage dev
shell: bash
if: startsWith(github.ref_name, 'develop')
- run: pnpm sst deploy --stage prod
shell: bash
if: startsWith(github.ref_name, 'main')