Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/launch_infrastructure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@ jobs:
aws-region: ${{ secrets.AWS_REGION }}
- name: Install Flox
uses: flox/install-flox-action@v2
- name: Initialize Pulumi stack
uses: flox/activate-action@v1
env:
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
with:
command: cd infrastructure && pulumi stack select production --create
- name: Deploy with Pulumi
uses: flox/activate-action@v1
env:
Expand Down
11 changes: 10 additions & 1 deletion maskfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,16 @@ cd infrastructure/

echo "Launching infrastructure"

pulumi up --diff --yes --stack production
organization_name=$(pulumi whoami)

if [ -z "${organization_name}" ]; then
echo "Unable to determine Pulumi organization name - ensure you are logged in"
exit 1
fi

pulumi stack select ${organization_name}/pocketsizefund/production --create

pulumi up --diff --yes

echo "Forcing ECS service deployments to pull latest images"

Expand Down