Skip to content

Commit

Permalink
chore: fix deploy workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshay committed Sep 15, 2023
1 parent ba60daa commit bf42c05
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd-dev.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CD
name: CD - Dev

on:
workflow_run:
Expand Down Expand Up @@ -27,7 +27,7 @@ jobs:
uses: ./.github/workflows/deploy.yml
with:
environment_name: development
environment_url: https://dev.astro-aws.org/
environment_url: https://static.dev.astro-aws.org/
stack_environment: DEV
secrets: inherit
deploy-dev-ssr:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd-prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CD
name: CD - Prod

on:
workflow_dispatch:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
required: false
type: string
default: "18"
pnpm_version:
description: The version of PNPM to use
required: false
type: string
default: "8.7.5"
stack_environment:
description: The stack environment to deploy
required: true
Expand Down Expand Up @@ -83,7 +88,7 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- uses: pnpm/action-setup@v2
with:
version: "8.7.5"
version: ${{ inputs.pnpm_version }}
- uses: actions/setup-node@v3
with:
node-version: ${{ inputs.node_version }}
Expand Down

0 comments on commit bf42c05

Please sign in to comment.