Skip to content

staging MVP

staging MVP #33

Workflow file for this run

name: Deploy Pipeline
on:
push:
branches:
- main
- staging
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/[email protected]
with:
bun-version: "1.2.19"
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::253016134262:role/HeartOfTheValleyStack-HeartOfTheValleyGithubActions-f5vUJwlfoLFr
aws-region: us-west-2
- name: Set DEPLOYMENT_SUFFIX
run: |
if [[ "${GITHUB_REF_NAME}" == "staging" ]]; then
echo "DEPLOYMENT_SUFFIX=Staging" >> $GITHUB_ENV
else
echo "DEPLOYMENT_SUFFIX=" >> $GITHUB_ENV
fi
- name: Deploy
run: |
cd app/deployment
bun install
bun run deploy --verbose
permissions:
id-token: write
contents: read