feat: Add GitHub Actions workflow for Amplify deployment and configuration

This commit is contained in:
2024-11-23 18:29:38 +02:00
parent 11e61829f1
commit 288bc17ffe
2 changed files with 104 additions and 0 deletions

25
tasker-client/amplify.yml Normal file
View File

@@ -0,0 +1,25 @@
version: 1.0
frontend:
phases:
preBuild:
commands:
- cd tasker-client
- npm ci
build:
commands:
- cd tasker-client
- npm run build
artifacts:
baseDirectory: tasker-client/.next
files:
- "**/*"
cache:
paths:
- tasker-client/node_modules/**/*
env:
variables:
# To be populated by GitHub Actions
NEXT_PUBLIC_API_BASE_URL: ""
NEXT_PUBLIC_COGNITO_USER_POOL_ID: ""
NEXT_PUBLIC_COGNITO_USER_POOL_CLIENT_ID: ""
S3_PUBLIC_IMAGE_URL: ""