diff options
| author | IwanIDev <iwan@iwani.dev> | 2026-03-19 20:16:23 +0000 |
|---|---|---|
| committer | IwanIDev <iwan@iwani.dev> | 2026-03-19 20:16:23 +0000 |
| commit | a706dcf6a9b91ef2c3d1e1d28449b9b8e0e8187d (patch) | |
| tree | ca3ea838179472713e1e2d089813f0f39ac72adb /.github/workflows | |
| parent | 572a393440b39a838b99227ba2222a210a495fac (diff) | |
Add support for headless Drupal integration with environment variables and Docker setup
- Create .env.example for environment variable configuration
- Update Dockerfile to accept Drupal-related build arguments
- Enhance docker_build.yml to pass environment variables during Docker build
- Add drupalClient and env configuration for API interaction
- Implement local development instructions and Docker deployment steps in README
- Add drupal and mariadb services to docker-stack.yml for complete setup
- Update package.json and bun.lock to include axios and drupal-jsonapi-params dependencies
- Add TypeScript definitions for new environment variables
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/docker_build.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml index 608592c..76299c9 100644 --- a/.github/workflows/docker_build.yml +++ b/.github/workflows/docker_build.yml @@ -57,6 +57,10 @@ jobs: labels: ${{ steps.meta.outputs.labels }} platforms: linux/arm64 provenance: false + build-args: | + VITE_DRUPAL_BASE_URL=${{ vars.VITE_DRUPAL_BASE_URL }} + VITE_DRUPAL_API_PREFIX=${{ vars.VITE_DRUPAL_API_PREFIX }} + VITE_DRUPAL_AUTH_TOKEN=${{ secrets.VITE_DRUPAL_AUTH_TOKEN }} cache-from: type=gha cache-to: type=gha,mode=max |
