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
19 changes: 19 additions & 0 deletions .github/workflows/deploy-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,18 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Free up disk space
run: |
echo "Disk space before cleanup:"
df -h
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
sudo rm -rf /usr/local/share/boost
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
sudo apt-get clean
echo "Disk space after cleanup:"
df -h

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand All @@ -56,6 +68,13 @@ jobs:
hosted_zone_id_host: ${{ vars.HOSTED_ZONE_ID_HOST }}
db_username: ${{ vars.DB_USERNAME }}

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "24"
cache: "yarn"
cache-dependency-path: platform/wab/yarn.lock

- name: Deploy frontend application
working-directory: terraform
env:
Expand Down
1 change: 1 addition & 0 deletions terraform/scripts/deploy-frontend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ HOST_BUCKET=$(terraform output -raw host_bucket_name)

# Get backend API URL
cd ../services/wab
terraform init -backend-config=config/${ENVIRONMENT}-backend.tfvars -reconfigure >/dev/null 2>&1
APP_URL=$(terraform output -raw application_url)

# Navigate to platform directory (from terraform/projects/services/wab to platform/wab)
Expand Down