Skip to content

hotfix:fix spatial features layer appearing when no subjects accessib… #399

hotfix:fix spatial features layer appearing when no subjects accessib…

hotfix:fix spatial features layer appearing when no subjects accessib… #399

Workflow file for this run

name: Build das-web-react
on:
push:
branches:
- develop
- 'release-**'
jobs:
config:
runs-on: ubuntu-latest
outputs:
build-args: ${{ steps.env-vars.outputs.build-args }}
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
- run: |
npm pkg set "buildbranch"="${{ github.head_ref || github.ref_name }}"
npm pkg set "buildnum"="${{ github.run_number }}"
- name: Read env file
id: env-vars
if: github.ref_name == 'develop'
run: |
tracking_id=$(grep REACT_APP_GA4_TRACKING_ID .env.development | cut -d '=' -f2)
echo "build-args=REACT_APP_GA4_TRACKING_ID=$tracking_id" >> $GITHUB_OUTPUT
- uses: actions/upload-artifact@v4
with:
name: npm-config
path: package.json
build:
needs: config
uses: PADAS/gundi-workflows/.github/workflows/build_docker.yml@main
with:
environment: padas-app
repository: europe-west3-docker.pkg.dev/padas-app/er-mt/das-web-react
tag: ${{ github.head_ref || github.ref_name }}-${{ github.run_number }}
dockerfile: Dockerfile.mt
artifact-download: true
artifact-name: npm-config
build-args: ${{ needs.config.outputs.build-args || '' }}