Skip to content

Commit

Permalink
fix: add ECOBALYSE_DATA_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
vjousse committed Sep 26, 2024
1 parent 52596a7 commit ff8e5a5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/actions/build-release/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,16 @@ inputs:
private_ssh_key:
description: 'The private ssh key used to clone the detailed impacts'
required: true
ecobalyse_data_dir:
description: 'The path to the ecobalyse dir containing the detailed impacts'
required: false
default: "./ecobalyse-private"
outputs:
dist-archive:
description: "Dist archive file path"
value: ${{ steps.create-dist-archive.outputs.dist-archive }}


runs:
using: "composite"
steps:
Expand Down Expand Up @@ -47,13 +52,15 @@ runs:
# @FIX: this should not be requiered when creating a tagged version
SOURCE_VERSION: ${{ inputs.commit_sha }}
TAG: ${{ inputs.tag }}
ECOBALYSE_DATA_DIR: ${{ inputs.ecobalyse_data_dir }}
run: |
npm run build:standalone-app
- name: Encrypt the impacts files
shell: bash
env:
ENCRYPTION_KEY: ${{ inputs.encryption_key }}
ECOBALYSE_DATA_DIR: ${{ inputs.ecobalyse_data_dir }}
run : |
# We include the encrypted detailed processes with the dist
# so that people with the encryption key could later on use the app with the exact
Expand Down

0 comments on commit ff8e5a5

Please sign in to comment.